Enable live reloading for browsersync

This commit is contained in:
MrTimscampi 2020-02-28 09:01:22 +01:00
parent ac903b87e0
commit 4c6dfbf2c5
4 changed files with 718 additions and 55 deletions

View file

@ -1,8 +1,6 @@
const path = require("path");
const common = require("./webpack.common");
const merge = require("webpack-merge");
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ConcatPlugin = require('webpack-concat-plugin');
module.exports = merge(common, {
mode: "development",
@ -28,15 +26,5 @@ module.exports = merge(common, {
]
}
]
},
plugins: [
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html'
}),
new ConcatPlugin({
name: 'scripts/apploader.js',
filesToConcat: ['./standalone.js', './scripts/apploader.js']
})
]
}
});