Skip to content

Commit 26c2263

Browse files
Timergaearon
authored andcommitted
Upgrade webpack deps and use strictExportPresence (facebook#2028)
1 parent 5aca608 commit 26c2263

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

config/webpack.config.dev.js

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ module.exports = {
107107
},
108108
// @remove-on-eject-end
109109
module: {
110+
strictExportPresence: true,
110111
rules: [
111112
// Disable require.ensure as it's not a standard language feature.
112113
{ parser: { requireEnsure: false } },

config/webpack.config.prod.js

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ module.exports = {
106106
},
107107
// @remove-on-eject-end
108108
module: {
109+
strictExportPresence: true,
109110
rules: [
110111
// Disable require.ensure as it's not a standard language feature.
111112
{ parser: { requireEnsure: false } },

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,25 @@
2525
"babel-core": "6.23.1",
2626
"babel-eslint": "7.1.1",
2727
"babel-jest": "18.0.0",
28-
"babel-loader": "7.0.0-alpha.3",
28+
"babel-loader": "7.0.0",
2929
"babel-preset-react-app": "^2.1.1",
3030
"babel-runtime": "^6.20.0",
3131
"case-sensitive-paths-webpack-plugin": "1.1.4",
3232
"chalk": "1.1.3",
3333
"connect-history-api-fallback": "1.3.0",
3434
"cross-spawn": "4.0.2",
35-
"css-loader": "0.27.3",
35+
"css-loader": "0.28.0",
3636
"detect-port": "1.1.1",
3737
"dotenv": "2.0.0",
3838
"eslint": "3.16.1",
3939
"eslint-config-react-app": "^0.6.1",
40-
"eslint-loader": "1.7.0",
40+
"eslint-loader": "1.7.1",
4141
"eslint-plugin-flowtype": "2.21.0",
4242
"eslint-plugin-import": "2.0.1",
4343
"eslint-plugin-jsx-a11y": "4.0.0",
4444
"eslint-plugin-react": "6.4.1",
4545
"extract-text-webpack-plugin": "2.1.0",
46-
"file-loader": "0.10.1",
46+
"file-loader": "0.11.1",
4747
"fs-extra": "0.30.0",
4848
"html-webpack-plugin": "2.28.0",
4949
"http-proxy-middleware": "0.17.3",
@@ -52,10 +52,10 @@
5252
"postcss-loader": "1.3.3",
5353
"promise": "7.1.1",
5454
"react-dev-utils": "^0.5.2",
55-
"style-loader": "0.16.0",
55+
"style-loader": "0.16.1",
5656
"url-loader": "0.5.8",
57-
"webpack": "2.3.2",
58-
"webpack-dev-server": "2.4.2",
57+
"webpack": "2.4.1",
58+
"webpack-dev-server": "2.4.4",
5959
"webpack-manifest-plugin": "1.1.0",
6060
"whatwg-fetch": "2.0.3"
6161
},

0 commit comments

Comments
 (0)