How to serve javascript files (as third party lib)
I am currently implementing a widget to be embedded as a third party library on websites.
I am developing it with Vanilla Svelte and rollup.js.
This is my rollup config.
Question: how can I serve the bundle.min.js through Cloudflare as a CDN? I am assuming it should be possible with Pages Direct Upload?
Idea is to be able to include the script like this later on:
Would be awesome if someone could point me in the right direction
I am developing it with Vanilla Svelte and rollup.js.
This is my rollup config.
Question: how can I serve the bundle.min.js through Cloudflare as a CDN? I am assuming it should be possible with Pages Direct Upload?
Idea is to be able to include the script like this later on:
Would be awesome if someone could point me in the right direction
