Skip to content

Commit 110fa90

Browse files
committed
use open browser plugin
1 parent 64a5689 commit 110fa90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webpack.example.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const webpack = require("webpack");
22
const path = require("path");
33
const HtmlWebpackPlugin = require("html-webpack-plugin");
44
const ConcatPlugin = require("webpack-concat-plugin");
5+
const OpenBrowserPlugin = require("open-browser-webpack-plugin");
56

67
const concatPluginConfigGenerator = (name, files) => {
78
return {
@@ -44,6 +45,8 @@ module.exports = options => {
4445
new ConcatPlugin(concatPluginConfigGenerator("createjs", [
4546
path.resolve(__dirname, "./node_modules/easeljs/lib/easeljs.js")
4647
])),
48+
49+
new OpenBrowserPlugin({ url: "http://localhost:8080" })
4750
],
4851

4952
resolve: {

0 commit comments

Comments
 (0)