diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2018-05-15 00:45:37 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-14 17:45:37 +0200 |
commit | d8b3f5fb9a6d394257cedd1fda3f86ff64f21e5b (patch) | |
tree | 7d4c20126e51583988b297a9f51878e92edbe378 /config/webpack/configuration.js | |
parent | d75b63e4fbe3a516378150f58ac348cf87aba226 (diff) |
Limit environment variables to expose to webpack (#7480)
Diffstat (limited to 'config/webpack/configuration.js')
-rw-r--r-- | config/webpack/configuration.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/webpack/configuration.js b/config/webpack/configuration.js index c06570944..cf8c0c7e1 100644 --- a/config/webpack/configuration.js +++ b/config/webpack/configuration.js @@ -33,7 +33,10 @@ const output = { module.exports = { settings, themes, - env, + env: { + CDN_HOST: env.CDN_HOST, + NODE_ENV: env.NODE_ENV, + }, loadersDir, output, }; |