minify: true => fix gap between inline-block labels

This commit is contained in:
yoyo837 2018-05-30 10:57:03 +08:00
parent 0d0d83cbc9
commit b4d74b417c

View File

@ -32,6 +32,7 @@ export default class WebpackClientConfig extends WebpackBaseConfig {
new HTMLPlugin({
filename: 'index.ssr.html',
template: this.options.appTemplatePath,
minify: true,
inject: false // Resources will be injected using bundleRenderer
})
)
@ -41,6 +42,7 @@ export default class WebpackClientConfig extends WebpackBaseConfig {
new HTMLPlugin({
filename: 'index.spa.html',
template: this.options.appTemplatePath,
minify: true,
inject: true,
chunksSortMode: 'dependency'
}),