-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit db39eac
authored
Set NODE_ENV and VERSION when building (#700)
* Set NODE_ENV and VERSION when building
Should fix the version flag not reporting correctly as well as enable
the service worker and prevent the 404 hmr requests again.
* Log env vars
To help make sure it's built correctly when looking at the Travis logs.1 parent c020cd2 commit db39eac
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | + | ||
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | - | ||
18 | + | ||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | - | ||
24 | + | ||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments