This repository was archived by the owner on Aug 16, 2022. It is now read-only.
This repository was archived by the owner on Aug 16, 2022. It is now read-only.
For TemplateOptions, is there a way to set isProduction without setting compiler and compilerOptions? #81
Open
Description
As defined in the types file:
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
?
(Without setting process.env.NODE_ENV
of course.)
Metadata
Metadata
Assignees
Labels
No labels