Skip to content

Commit

Permalink
fix(demo08): fix html-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyf committed Jun 3, 2016
1 parent 050b419 commit f523cf4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,8 @@ module.exports = {
},
plugins: [
new HtmlwebpackPlugin({
title: 'Webpack-demos'
title: 'Webpack-demos',
filename: 'index.html'
}),
new OpenBrowserPlugin({
url: 'http://localhost:8080'
Expand Down
3 changes: 2 additions & 1 deletion demo08/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ module.exports = {
},
plugins: [
new HtmlwebpackPlugin({
title: 'Webpack-demos'
title: 'Webpack-demos',
filename: 'index.html'
}),
new OpenBrowserPlugin({
url: 'http://localhost:8080'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"css-loader": "~0.16.0",
"file-loader": "~0.8.4",
"history": "^1.17.0",
"html-webpack-plugin": "~1.6.2",
"html-webpack-plugin": "2.x",
"jquery": "~2.1.4",
"jsx-loader": "~0.13.2",
"open-browser-webpack-plugin": "0.0.1",
Expand Down

0 comments on commit f523cf4

Please sign in to comment.