rollup-plugin-web-worker-loader
rollup-plugin-web-worker-loader copied to clipboard
Rollup plugin to load Workers. Supports inlining, dependencies, source maps, NodeJS and browsers.
Hi, I created a Gist of how to reproduce the webpack warning: https://gist.github.com/adamjmcgrath/fbc6b1a0991f98fa9ca13bef92bc825b When you run `rollup -c && webpack rolled-up.js` you get: `Module not found: Error: Can't resolve 'worker_threads'...
Allow plugin to be used in Rollup 3 by adding ^3.0.0 to the peer dependency version. Fixes #76
peerDeps are: https://github.com/darionco/rollup-plugin-web-worker-loader/blob/48df45336b9d2527adae5dd50f4bbfd7c19557dc/package.json#L22-L24 so load is not up to date and this can clash and dedupe an already installed rollup 3. Would you consider adding `^3.0.0` to it? The only...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [semver](https://github.com/npm/node-semver) from 7.3.2 to 7.5.4. Release notes Sourced from semver's releases. v7.5.4 7.5.4 (2023-07-07) Bug Fixes cc6fde2 #588 trim each range set before parsing (@lukekarrys) 99d8287 #583 correctly parse...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
``` Cannot find module 'web-worker:./worker.ts' from 'src/utils/task.ts' Require stack: src/utils/task.ts src/utils/index.ts src/index.ts test/get-url.test.ts 5 | // eslint-disable-next-line @typescript-eslint/ban-ts-comment 6 | // @ts-ignore > 7 | import DataWorker from 'web-worker:./worker.ts' |...
I am encountering an issue where if the original package uses import.meta.url, the resulting bundle will access document, which causes a null pointer issue in a worker. Which making the...