Archived
1
0

Propagate full env to browser (#756)

* Propogate full env to browser

* Add support for setting $ITEM_URL

* Add serviceURL getter
This commit is contained in:
Anmol Sethi
2019-06-11 12:54:49 -04:00
committed by Asher
parent 362715bbeb
commit 02f62882b8
13 changed files with 95 additions and 37 deletions

View File

@ -90,8 +90,6 @@ module.exports = (options = {}) => ({
}),
new webpack.DefinePlugin({
"process.env.NODE_ENV": `"${environment}"`,
"process.env.LOG_LEVEL": `"${process.env.LOG_LEVEL || ""}"`,
"process.env.SERVICE_URL": `"${process.env.SERVICE_URL || ""}"`,
"process.env.VERSION": `"${process.env.VERSION || ""}"`,
}),
],