fix NUXT_FULL_STATIC

This commit is contained in:
Pooya Parsa 2020-11-21 14:58:24 +01:00
parent dbce482b7e
commit 1f5e82a5bc

View File

@ -104,8 +104,7 @@ export const getRollupConfig = (sigmaContext: SigmaContext) => {
'process.env.PUBLIC_PATH': JSON.stringify(sigmaContext._nuxt.publicPath),
'process.env.NUXT_STATIC_BASE': JSON.stringify(sigmaContext._nuxt.staticAssets.base),
'process.env.NUXT_STATIC_VERSION': JSON.stringify(sigmaContext._nuxt.staticAssets.version),
// @ts-ignore
'process.env.NUXT_FULL_STATIC': sigmaContext.fullStatic,
'process.env.NUXT_FULL_STATIC': sigmaContext._nuxt.fullStatic as unknown as string,
'process.env.SIGMA_PRESET': JSON.stringify(sigmaContext.preset)
}
}))