Skip to content

Commit da7a233

Browse files
committed
devop: 🔧 cleanup for offline build
1 parent 5167691 commit da7a233

20 files changed

+786
-1233
lines changed

ENV_VARS.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ module.exports = {
88
ETH_DONATION_ADDRESS: JSON.stringify(
99
'0xDECAF9CD2367cdbb726E904cD6397eDFcAe6068D'
1010
),
11-
FULL_SOURCEMAPS: JSON.stringify(process.env.FULL_SOURCEMAPS || 'false')
11+
FULL_SOURCEMAPS: JSON.stringify(process.env.FULL_SOURCEMAPS || 'false'),
12+
BUILD: JSON.stringify(process.env.BUILD || 'web')
1213
};

builds/offlineConfig.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ const exportObj = {
77
lintOnSave: process.env.NODE_ENV === 'production' ? 'error' : true,
88
integrity: process.env.WEBPACK_INTEGRITY === 'false' ? false : true,
99
productionSourceMap: true,
10-
pages: {
11-
index: {
12-
entry: 'src/main/offlineMain.js',
13-
template: 'public/index.html',
14-
filename: 'index.html'
15-
}
16-
},
1710
chainWebpack: config => {
1811
2;
1912
// GraphQL Loader

0 commit comments

Comments
 (0)