Build process now allows console.log, except when the production flag is set on yarn build, in which case it will throw an error.

This commit is contained in:
Ben Martinez-Bateman
2017-12-18 10:37:32 -08:00
parent 80a00245ab
commit 626c9e6535
4 changed files with 14 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ const config = merge({
root: rootPath,
assets: path.join(rootPath, 'resources/assets'),
dist: path.join(rootPath, 'dist'),
eslintProd: path.join(rootPath, '.eslintrcProd'),
},
enabled: {
sourceMaps: !isProduction,