Skip to content

Commit

Permalink
Upgrade webpack to use optimizaiton config
Browse files Browse the repository at this point in the history
  • Loading branch information
supasate committed Mar 10, 2019
1 parent 0d256a9 commit 4781828
Show file tree
Hide file tree
Showing 4 changed files with 819 additions and 231 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules
esm
lib
umd
dist
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
"redux-mock-store": "^1.2.1",
"redux-seamless-immutable": "^0.4.0",
"rewire": "^2.5.2",
"webpack": "^2.2.1"
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
var config = {
entry: './src/index',
mode: 'production',
module: {
rules: [
{ test: /\.js$/, use: [ 'babel-loader' ], exclude: /node_modules/ }
Expand Down
Loading

0 comments on commit 4781828

Please sign in to comment.