При запуска проекта файл не форматируется в html
{
test: /\.pug$/,
loader: "pug-loader"
}
]
},
resolve: {
extensions: [".vue", ".js", ".json"],
},
plugins: [
new webpack.NoEmitOnErrorsPlugin(),
new webpack.optimize.CommonsChunkPlugin({
name: "main"
}),
new HtmlWebpackPlugin({
template: path.resolve(__dirname, "..", "server",'index.pug'),
filename: 'index.html',
})
и
doctype html
html
head
title DeuL
body
block content
#wrap
block scripts
script(src='/js/app.js')
script(src='/js/main.js')
выводит
doctype html html head title DeuL body block content #wrap block scripts script(src='/js/app.js') script(src='/js/main.js')