Skip to content

Commit 01305ae

Browse files
committed
2 parents fcba42d + 28ef5d5 commit 01305ae

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"name": "workerize-loader",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "Automatically move a module into a Web Worker (Webpack loader)",
55
"main": "dist/index.js",
66
"repository": "developit/workerize-loader",
77
"scripts": {
8-
"build": "microbundle --format cjs --no-compress --inline none src/*.js",
8+
"build": "npm run -s build-loader && npm run -s build-rpc",
9+
"build-loader": "microbundle --target node --format cjs --no-compress src/index.js ",
10+
"build-rpc": "microbundle --format cjs --no-compress src/rpc-*.js",
911
"prepublishOnly": "npm run build",
1012
"dev": "karmatic watch --no-headless",
1113
"test": "npm run build && karmatic && NODE_ENV=production karmatic -p",

0 commit comments

Comments
 (0)