Skip to content

Commit

Permalink
docs(examples): fix webpack.config.js (#2171)
Browse files Browse the repository at this point in the history
* Update webpack.config.js

fixing syntax error

* fix(examples): update deps and webpack 2 config
  • Loading branch information
armendarabyan authored and layershifter committed Oct 8, 2017
1 parent ee931d2 commit 955ed6e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
5 changes: 5 additions & 0 deletions examples/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"comma-dangle": 0
}
}
10 changes: 5 additions & 5 deletions examples/webpack1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"author": "Alexander Fedyashov <a@fedyashov.com>",
"license": "MIT",
"dependencies": {
"babel-core": "^6.24.1",
"babel-core": "^6.26.0",
"babel-loader": "^6.4.1",
"babel-plugin-lodash": "^3.2.11",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"cross-env": "^5.0.0",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"semantic-ui-react": "^0.68.4",
"cross-env": "^5.0.5",
"react": "^15.6.2",
"react-dom": "^15.6.2",
"semantic-ui-react": "^0.74.2",
"webpack": "^1.15.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack1/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (env === 'production') {
dead_code: true,
warnings: false,
},
}),
})
)
}

Expand Down
14 changes: 7 additions & 7 deletions examples/webpack2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
"author": "Alexander Fedyashov <a@fedyashov.com>",
"license": "MIT",
"dependencies": {
"babel-core": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-lodash": "^3.2.11",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"cross-env": "^5.0.0",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"semantic-ui-react": "^0.68.4",
"webpack": "^2.6.1"
"cross-env": "^5.0.5",
"react": "^15.6.2",
"react-dom": "^15.6.2",
"semantic-ui-react": "^0.74.2",
"webpack": "^2.7.0"
},
"devDependencies": {
"webpack-bundle-analyzer": "^2.8.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack2/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if (env === 'production') {
dead_code: true,
warnings: false,
},
}),
})
)
}

Expand Down

0 comments on commit 955ed6e

Please sign in to comment.