Skip to content

Commit 87ea8bf

Browse files
committed
Add webpack as a dev/peer dependency
1 parent bb1eff2 commit 87ea8bf

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "dist/index.js",
66
"repository": "developit/workerize-loader",
77
"scripts": {
8-
"build": "microbundle --inline none --format cjs --no-compress src/*.js",
8+
"build": "microbundle --target node --format cjs --no-compress src/*.js",
99
"prepublishOnly": "npm run build",
1010
"dev": "karmatic watch --no-headless",
1111
"test": "npm run build && karmatic",
@@ -35,10 +35,14 @@
3535
"devDependencies": {
3636
"eslint": "^5.0.0",
3737
"eslint-config-developit": "^1.1.1",
38-
"karmatic": "^1.0.5",
39-
"microbundle": "^0.4.2"
38+
"karmatic": "^1.2.0",
39+
"microbundle": "^0.6.0",
40+
"webpack": "^3.12.0"
4041
},
4142
"dependencies": {
4243
"loader-utils": "^1.1.0"
44+
},
45+
"peerDependencies": {
46+
"webpack": "*"
4347
}
4448
}

0 commit comments

Comments
 (0)