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 f3886ba commit 5933fdaCopy full SHA for 5933fda
package.json
@@ -4,8 +4,8 @@
4
"description": "This is server side for Votest app",
5
"main": "index.js",
6
"scripts": {
7
- "start": "webpack --config webpack.prod.js",
8
- "dev": "webpack --display-error-details --config webpack.dev.js",
+ "start": "webpack --config ./webpack/webpack.prod.js",
+ "dev": "webpack --display-error-details --config ./webpack/webpack.dev.js",
9
"test": "echo \"Error: no test specified\" && exit 1"
10
},
11
"repository": {
webpack.common.js renamed to webpack/webpack.common.js
@@ -37,7 +37,7 @@ module.exports = {
37
38
39
output: {
40
- path: path.resolve(__dirname, "dist"),
+ path: path.resolve(__dirname, "../dist"),
41
filename: "[name].bundle.js",
42
libraryTarget: "commonjs2"
43
}
webpack.dev.js renamed to webpack/webpack.dev.js
webpack.prod.js renamed to webpack/webpack.prod.js
0 commit comments