mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-24 12:49:19 +00:00
Refactor Webpack build scripts (#4093)
* Refactor Webpack build scripts * Add Gallery too * Fix icons * Update travis
This commit is contained in:
6
build-scripts/env.js
Normal file
6
build-scripts/env.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
isProdBuild: process.env.NODE_ENV === "production",
|
||||
isStatsBuild: process.env.STATS === "1",
|
||||
isTravis: process.env.TRAVIS === "true",
|
||||
isNetlify: process.env.NETLIFY === "true",
|
||||
};
|
||||
Reference in New Issue
Block a user