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 2688667 commit 3e6d89bCopy full SHA for 3e6d89b
package.json
@@ -8,7 +8,7 @@
8
"build": "microbundle --target node --format cjs --no-compress src/*.js",
9
"prepublishOnly": "npm run build",
10
"dev": "karmatic watch --no-headless",
11
- "test": "npm run build && karmatic",
+ "test": "npm run build && karmatic && NODE_ENV=production karmatic -p",
12
"release": "npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
13
},
14
"eslintConfig": {
@@ -45,4 +45,4 @@
45
"peerDependencies": {
46
"webpack": "*"
47
}
48
-}
+}
webpack.config.js
@@ -0,0 +1,5 @@
1
+module.exports = function () {
2
+ return {
3
+ mode: process.env.NODE_ENV || 'development'
4
+ };
5
0 commit comments