Refactor vite.config.ts to conditionally enable utwm plugin based on NODE_ENV
This commit is contained in:
parent
408148decd
commit
1573672c84
@ -16,7 +16,7 @@ export default defineConfig({
|
||||
}
|
||||
}),
|
||||
vueJsx(),
|
||||
utwm({}),
|
||||
process.env.NODE_ENV === 'production' ? utwm({}) : undefined,
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user