Limit environment variables to expose to webpack (#7480)

This commit is contained in:
Akihiko Odaki 2018-05-15 00:45:37 +09:00 committed by Eugen Rochko
parent d75b63e4fb
commit d8b3f5fb9a
2 changed files with 6 additions and 3 deletions

View File

@ -33,7 +33,10 @@ const output = {
module.exports = {
settings,
themes,
env,
env: {
CDN_HOST: env.CDN_HOST,
NODE_ENV: env.NODE_ENV,