Skip to content

Commit 49e3d4a

Browse files
committed
feat(main): Change main import
Can now require template instead of giving webpack config path to template file BREAKING CHANGE: import usage
1 parent 1b8ff34 commit 49e3d4a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ module.exports = {
2222
new HtmlWebpackPlugin({
2323
template: '../index.ejs',
2424
title: 'My App',
25-
baseHref: 'http://example.com/awesome',
2625
mobile: true,
2726
googleAnalytics: {
2827
trackingId: 'UA-XXXX-XX',
2928
pageViewOnLoad: true
3029
},
31-
devServer: 3000,
30+
devServer: 'http://localhost:3001',
3231
appMountId: 'app',
3332
window: {
3433
env: {

0 commit comments

Comments
 (0)