We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb10619 commit 406f8edCopy full SHA for 406f8ed
package.json
@@ -5,7 +5,9 @@
5
"main": "dist/index.js",
6
"repository": "developit/workerize-loader",
7
"scripts": {
8
- "build": "microbundle --target node --format cjs --no-compress src/*.js",
+ "build": "npm run build-loader && npm run build-rpc",
9
+ "build-loader": "microbundle --target node --format cjs --no-compress src/index.js ",
10
+ "build-rpc": "microbundle --target web --format cjs --no-compress src/rpc-*.js",
11
"prepublishOnly": "npm run build",
12
"dev": "karmatic watch --no-headless",
13
"test": "npm run build && karmatic && NODE_ENV=production karmatic -p",
0 commit comments