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:
8
.eslintrcProd
Normal file
8
.eslintrcProd
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": [
|
||||
"./package.json"
|
||||
],
|
||||
"rules": {
|
||||
"no-console": ["error"],
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user