forked from opentiny/tiny-engine
fix(controller): build with env variable (#420)
This commit is contained in:
parent
8e89cc47e7
commit
259ef69ba3
|
@ -28,7 +28,10 @@ export default defineConfig({
|
|||
resolve: {},
|
||||
define: {
|
||||
'process.env': {},
|
||||
'import.meta': 'import.meta'
|
||||
'import.meta': 'import.meta',
|
||||
'import.meta.env.MODE': 'import.meta.env.MODE',
|
||||
'import.meta.env.PROD': 'import.meta.env.PROD',
|
||||
'import.meta.env.BASE_URL': 'import.meta.env.BASE_URL'
|
||||
},
|
||||
build: {
|
||||
cssCodeSplit: false,
|
||||
|
|
Loading…
Reference in New Issue