mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
fix(embark/generator): add back environment to EmbarkJS
This commit is contained in:
parent
579328a9f4
commit
1ae0ab6b1f
@ -338,6 +338,7 @@ class CodeGenerator {
|
||||
return next(err);
|
||||
}
|
||||
embarkjsCode += `\nconst EmbarkJS = require("${symlinkDest}").default || require("${symlinkDest}");`;
|
||||
embarkjsCode += `\nEmbarkJS.environment = '${self.env}';`;
|
||||
embarkjsCode += "\nglobal.EmbarkJS = EmbarkJS;";
|
||||
next();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user