refs #5815 ci: set custom NODE_ENV in environment
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c870e8b367
commit
25e7c3231a
|
@ -66,7 +66,9 @@ module.exports = configure(function (/* ctx */) {
|
|||
// publicPath: '/',
|
||||
// analyze: true,
|
||||
// env: {},
|
||||
// rawDefine: {}
|
||||
rawDefine: {
|
||||
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)
|
||||
},
|
||||
// ignorePublicFolder: true,
|
||||
// minify: false,
|
||||
// polyfillModulePreload: true,
|
||||
|
@ -79,6 +81,12 @@ module.exports = configure(function (/* ctx */) {
|
|||
viteConf.build.modulePreload = {
|
||||
polyfill: false,
|
||||
};
|
||||
|
||||
// this.env={
|
||||
// 'process.env.NODE_ENV': 'test1',
|
||||
// NODE_ENV: 'test2'
|
||||
|
||||
// }
|
||||
},
|
||||
// viteVuePluginOptions: {},
|
||||
|
||||
|
|
Loading…
Reference in New Issue