From 9e36f522b94511c1d77335493c09e68975db031c Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Wed, 5 Feb 2020 07:42:34 -0800 Subject: Add webpack config for env specific builds Add documentation and example files to make environment specific build modifications. - Store any env specific router and store modules in separate env directory Signed-off-by: Yoshie Muranaka Change-Id: I06ff3cb0928707354266dd25b399710847e7fa18 --- src/envConstants.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/envConstants.js (limited to 'src/envConstants.js') diff --git a/src/envConstants.js b/src/envConstants.js new file mode 100644 index 000000000..f9a4c3c6d --- /dev/null +++ b/src/envConstants.js @@ -0,0 +1,5 @@ +const envName = process.env.VUE_APP_ENV_NAME; + +export const ENV_CONSTANTS = { + name: envName || 'openbmc' +}; -- cgit v1.2.3