interface TemplateOptions {
compiler: VueTemplateCompiler
compilerOptions: VueTemplateCompilerOptions
preprocessOptions?: any
transformAssetUrls?: AssetURLOptions | boolean
transpileOptions?: any
isProduction?: boolean
optimizeSSR?: boolean
}
compiler and compilerOptions is required, so if I want to set isProduction to true, I have to set the compiler and compilerOptions together, which I don't want to change at all.
Is there a way to set isProduction without setting compiler and compilerOptions?
As defined in the types file:
compiler
andcompilerOptions
is required, so if I want to setisProduction
totrue
, I have to set thecompiler
andcompilerOptions
together, which I don't want to change at all.Is there a way to set
isProduction
without settingcompiler
andcompilerOptions
?(Without setting
process.env.NODE_ENV
of course.)