We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec8a18e commit b15cc05Copy full SHA for b15cc05
index.js
@@ -103,7 +103,8 @@ module.exports = (api, projectOptions) => {
103
104
// take advantage of the vue cli api to load the --env items into process.env.
105
// we are filtering out the items, by catching the '=' sign, brought in from nsconfig.json as those don't need loaded into process.env
106
- api.service.loadEnv(flags.filter((o) => !o.includes('=')).join('.'));
+ // we are also filtering out 'sourceMap' which will appear with 'tns debug'
107
+ api.service.loadEnv(flags.filter((o) => !o.includes('=') && !o.includes('sourceMap')).join('.'));
108
}
109
110
// setup the traditional {N} webpack 'env' variable
0 commit comments