mirror of
https://github.com/h5bp/html5-boilerplate.git
synced 2026-01-09 16:08:01 -05:00
* Proposal: Let's Replace Parcel With Webpack Closes #2487 and #2474 This is just a development server at this point. It hot reloads HTML JS and CSS. That's enough for me. I'm open to contrary opinions. * Updates based on @coliff review * wip * fix merge conflict * removing comment * Final tweaks to docs
16 lines
305 B
JavaScript
16 lines
305 B
JavaScript
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
module.exports = {
|
|
mode : 'development',
|
|
entry : './js/app.js',
|
|
devServer: {
|
|
liveReload: true,
|
|
hot: true,
|
|
open: true,
|
|
static: ['./'],
|
|
},
|
|
plugins: [
|
|
new HtmlWebpackPlugin({
|
|
template: './index.html'
|
|
})
|
|
]
|
|
}; |