mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
only inline spa manifest in production mode
This commit is contained in:
parent
d9c2575652
commit
45b1a55ea9
@ -61,7 +61,9 @@ export default function webpackClientConfig() {
|
||||
|
||||
// Enhances html-webpack-plugin functionality by adding the inlineSource option.
|
||||
// https://github.com/DustinJackson/html-webpack-inline-source-plugin
|
||||
config.plugins.push(new HtmlWebpackInlineSourcePlugin())
|
||||
if (!this.options.dev) {
|
||||
config.plugins.push(new HtmlWebpackInlineSourcePlugin())
|
||||
}
|
||||
|
||||
// Generate vue-ssr-client-manifest
|
||||
config.plugins.push(
|
||||
|
Loading…
Reference in New Issue
Block a user