made production build to be smaller and have sourcemap

This commit is contained in:
Ken
2019-02-23 08:05:16 -08:00
parent 221485a940
commit 5c356156d8
88 changed files with 968 additions and 125962 deletions

View File

@@ -116,7 +116,6 @@ module.exports = function() {
inline: true
},
stats: 'minimal',
mode: 'development',
devtool: 'eval'
devtool: process.env.NODE_ENV === 'development' ? 'eval' : 'source-map'
};
};