Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

Commit

Permalink
feat: Upgrade react-dev-utils and html-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kylealwyn committed Oct 17, 2018
1 parent 28739ef commit 0adac7d
Show file tree
Hide file tree
Showing 3 changed files with 1,471 additions and 196 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"file-loader": "2.0.0",
"find-up": "3.0.0",
"fs-extra": "7.0.0",
"html-webpack-plugin": "3.2.0",
"html-webpack-plugin": "^4.0.0-beta.2",
"loader-utils": "1.1.0",
"lodash": "4.17.11",
"mini-css-extract-plugin": "0.4.2",
Expand All @@ -64,7 +64,7 @@
"postcss-loader": "3.0.0",
"promise": "8.0.1",
"raf": "3.4.0",
"react-dev-utils": "6.0.0-next.3e165448",
"react-dev-utils": "^6.0.5",
"resolve": "1.8.1",
"sass-loader": "7.1.0",
"style-loader": "0.23.0",
Expand Down
2 changes: 1 addition & 1 deletion src/config/webpack.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export default ({ mode, paths, env, sourceMaps }: IWebpackConfig): Configuration
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
// In production, it will be an empty string unless you specify "homepage"
// in `package.json`, in which case it will be the pathname of that URL.
new InterpolateHtmlPlugin(env),
new InterpolateHtmlPlugin(HtmlWebpackPlugin, env),

// Makes some environment variables available to the JS code, for example:
// if (process.env.NODE_ENV === 'production') { ... }. See `./env.js`.
Expand Down
Loading

0 comments on commit 0adac7d

Please sign in to comment.