refs #5815-quasar-NODE_ENV #111

Merged
jsegarra merged 4 commits from 5815-vite_NODE_ENV into test 2023-11-30 07:16:02 +00:00
1 changed files with 9 additions and 1 deletions
Showing only changes of commit 25e7c3231a - Show all commits

View File

@ -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'
// }
jsegarra marked this conversation as resolved Outdated
Outdated
Review

Estos comentarios se podrían borrar, no?

Estos comentarios se podrían borrar, no?

Desde luego, no aportan valor.
Quitados.

Desde luego, no aportan valor. Quitados.
},
// viteVuePluginOptions: {},