Skip to content

Commit

Permalink
Merge pull request #630 from Adslot/614-deprecate-OpenBrowserPlugin
Browse files Browse the repository at this point in the history
Update: deprecate OpenBrowserPlugin
  • Loading branch information
omgaz authored Oct 10, 2017
2 parents 4f17286 + cc2c2db commit 45ba8cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions config/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
const merge = require('webpack-merge');
const webpack = require('webpack');
const { resolve } = require('path');
const OpenBrowserPlugin = require('open-browser-webpack-plugin');

const commonConfig = require('./common');

Expand Down Expand Up @@ -68,11 +67,11 @@ module.exports = merge(commonConfig, {
timings: false,
warnings: true,
},
open: `http://${HOST}:${PORT}/webpack-dev-server/`,
},
devtool: 'cheap-module-eval-source-map',
plugins: [
new webpack.HotModuleReplacementPlugin(), // enable HMR globally
new webpack.NamedModulesPlugin(), // prints more readable module names in the browser console on HMR updates
new OpenBrowserPlugin({ url: `http://${HOST}:${PORT}/webpack-dev-server/` }),
],
});
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"nuka-carousel": "^2.0.4",
"null-loader": "^0.1.1",
"object-assign": "^4.1.1",
"open-browser-webpack-plugin": "0.0.5",
"postcss-loader": "^2.0.6",
"prop-types": "^15.5.10",
"react-bootstrap": "^0.31.1",
Expand Down

0 comments on commit 45ba8cd

Please sign in to comment.