Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 1de8a08

Browse files
Timerjust-boris
authored andcommitted
Upgrade webpack deps and use strictExportPresence (facebook#2028)
1 parent f3aebd0 commit 1de8a08

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

packages/react-scripts/config/webpack.config.dev.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ module.exports = {
110110
},
111111
// @remove-on-eject-end
112112
module: {
113+
strictExportPresence: true,
113114
rules: [
114115
// Disable require.ensure as it's not a standard language feature.
115116
{ parser: { requireEnsure: false } },

packages/react-scripts/config/webpack.config.prod.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ module.exports = {
109109
},
110110
// @remove-on-eject-end
111111
module: {
112+
strictExportPresence: true,
112113
rules: [
113114
// Disable require.ensure as it's not a standard language feature.
114115
{ parser: { requireEnsure: false } },

packages/react-scripts/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,26 @@
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-plugin-transform-react-jsx": "^6.24.1",
3030
"babel-preset-react-app": "^2.1.1",
3131
"babel-runtime": "^6.20.0",
3232
"case-sensitive-paths-webpack-plugin": "1.1.4",
3333
"chalk": "1.1.3",
3434
"connect-history-api-fallback": "1.3.0",
3535
"cross-spawn": "4.0.2",
36-
"css-loader": "0.27.3",
36+
"css-loader": "0.28.0",
3737
"detect-port": "1.1.1",
3838
"dotenv": "2.0.0",
3939
"eslint": "3.16.1",
4040
"eslint-config-react-app": "^0.6.1",
41-
"eslint-loader": "1.7.0",
41+
"eslint-loader": "1.7.1",
4242
"eslint-plugin-flowtype": "2.21.0",
4343
"eslint-plugin-import": "2.0.1",
4444
"eslint-plugin-jsx-a11y": "4.0.0",
4545
"eslint-plugin-react": "6.4.1",
4646
"extract-text-webpack-plugin": "2.1.0",
47-
"file-loader": "0.10.1",
47+
"file-loader": "0.11.1",
4848
"fs-extra": "0.30.0",
4949
"html-webpack-plugin": "2.28.0",
5050
"http-proxy-middleware": "0.17.3",
@@ -53,10 +53,10 @@
5353
"postcss-loader": "1.3.3",
5454
"promise": "7.1.1",
5555
"react-dev-utils": "^0.5.2",
56-
"style-loader": "0.16.0",
56+
"style-loader": "0.16.1",
5757
"url-loader": "0.5.8",
58-
"webpack": "2.3.2",
59-
"webpack-dev-server": "2.4.2",
58+
"webpack": "2.4.1",
59+
"webpack-dev-server": "2.4.4",
6060
"webpack-manifest-plugin": "1.1.0",
6161
"whatwg-fetch": "2.0.3"
6262
},

0 commit comments

Comments
 (0)