Skip to content

Commit da1070a

Browse files
Gary GambillGary Gambill
Gary Gambill
authored and
Gary Gambill
committed
bug fix: hmr and .env files
1 parent 9854767 commit da1070a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ module.exports = (api, projectOptions) => {
108108
// take advantage of the vue cli api to load the --env items into process.env.
109109
// we are filtering out the items, by catching the '=' sign, brought in from nsconfig.json as those don't need loaded into process.env
110110
// we are also filtering out 'sourceMap' which will appear with 'tns debug'
111-
api.service.loadEnv(flags.filter((o) => !o.includes('=') && !o.includes('sourceMap')).join('.'));
111+
api.service.loadEnv(flags.filter((o) => !o.includes('=') && !o.includes('sourceMap') && !o.includes('hmr')).join('.'));
112112
}
113113

114114
// setup the traditional {N} webpack 'env' variable

0 commit comments

Comments
 (0)