Skip to content

Commit e419dda

Browse files
Added a devbuild script
1 parent adaa911 commit e419dda

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"start": "webpack-dev-server",
9-
"build": "webpack --config webpack.config.prod.js"
9+
"build": "webpack --config webpack.config.prod.js",
10+
"devbuild": "webpack"
1011
},
1112
"author": "DS",
1213
"license": "ISC",

webpack.config.prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
{
1414
test: /\.ts$/,
1515
use: "ts-loader",
16-
exclude: /node_modules/,
16+
exclude: [/node_modules/, /\.src\/Section1to8/],
1717
},
1818
],
1919
},

0 commit comments

Comments
 (0)