Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
]
},
output: {
path: output,
publicPath: '/',
filename: 'bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
title: 'Sonar'
// template: './index.html'
})
]
}
if (argv.serve) {
config.plugins.push(
new WebpackPluginServe({
host: 'localhost',
static: output,
open: false,
liveReload: true,
historyFallback: true,
// progress: 'minimal',
progress: false,
ramdisk: ramdisk
})
)
config.entry.push(
'webpack-plugin-serve/client'
)
}