mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Merge pull request #3392 from yoyo837/minify-html
[edge] minify: true => fix gap between inline-block labels
This commit is contained in:
commit
8e3cb3448a
@ -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'
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user