Skip to content

Commit 5933fda

Browse files
committedDec 6, 2017
#13 added folder for webpack configuration
1 parent f3886ba commit 5933fda

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
 

‎package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "This is server side for Votest app",
55
"main": "index.js",
66
"scripts": {
7-
"start": "webpack --config webpack.prod.js",
8-
"dev": "webpack --display-error-details --config webpack.dev.js",
7+
"start": "webpack --config ./webpack/webpack.prod.js",
8+
"dev": "webpack --display-error-details --config ./webpack/webpack.dev.js",
99
"test": "echo \"Error: no test specified\" && exit 1"
1010
},
1111
"repository": {

‎webpack.common.js renamed to ‎webpack/webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737
},
3838

3939
output: {
40-
path: path.resolve(__dirname, "dist"),
40+
path: path.resolve(__dirname, "../dist"),
4141
filename: "[name].bundle.js",
4242
libraryTarget: "commonjs2"
4343
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)