diff --git a/packages/react-scripts/config/webpack.config.dev.js b/packages/react-scripts/config/webpack.config.dev.js index 330360ee880..0901085c7ae 100644 --- a/packages/react-scripts/config/webpack.config.dev.js +++ b/packages/react-scripts/config/webpack.config.dev.js @@ -110,6 +110,7 @@ module.exports = { }, // @remove-on-eject-end module: { + strictExportPresence: true, rules: [ // Disable require.ensure as it's not a standard language feature. { parser: { requireEnsure: false } }, diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index f4c41557341..81eb1feb3fc 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -109,6 +109,7 @@ module.exports = { }, // @remove-on-eject-end module: { + strictExportPresence: true, rules: [ // Disable require.ensure as it's not a standard language feature. { parser: { requireEnsure: false } }, diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 107feb6d21d..5796887efdc 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -25,7 +25,7 @@ "babel-core": "6.23.1", "babel-eslint": "7.1.1", "babel-jest": "18.0.0", - "babel-loader": "7.0.0-alpha.3", + "babel-loader": "7.0.0", "babel-plugin-transform-react-jsx": "^6.24.1", "babel-preset-react-app": "^2.1.1", "babel-runtime": "^6.20.0", @@ -33,18 +33,18 @@ "chalk": "1.1.3", "connect-history-api-fallback": "1.3.0", "cross-spawn": "4.0.2", - "css-loader": "0.27.3", + "css-loader": "0.28.0", "detect-port": "1.1.1", "dotenv": "2.0.0", "eslint": "3.16.1", "eslint-config-react-app": "^0.6.1", - "eslint-loader": "1.7.0", + "eslint-loader": "1.7.1", "eslint-plugin-flowtype": "2.21.0", "eslint-plugin-import": "2.0.1", "eslint-plugin-jsx-a11y": "4.0.0", "eslint-plugin-react": "6.4.1", "extract-text-webpack-plugin": "2.1.0", - "file-loader": "0.10.1", + "file-loader": "0.11.1", "fs-extra": "0.30.0", "html-webpack-plugin": "2.28.0", "http-proxy-middleware": "0.17.3", @@ -53,10 +53,10 @@ "postcss-loader": "1.3.3", "promise": "7.1.1", "react-dev-utils": "^0.5.2", - "style-loader": "0.16.0", + "style-loader": "0.16.1", "url-loader": "0.5.8", - "webpack": "2.3.2", - "webpack-dev-server": "2.4.2", + "webpack": "2.4.1", + "webpack-dev-server": "2.4.4", "webpack-manifest-plugin": "1.1.0", "whatwg-fetch": "2.0.3" },