Skip to content

Commit d116935

Browse files
🤖 config(babel): Setup production environment.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/1b5252aec880aa76850f97b16980a6ce00c782c4/src/transforms/babel:setup-env-production.js Please contact the author of the transform if you believe there was an error.
1 parent 8a3a9f3 commit d116935

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

package.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,21 @@
154154
]
155155
]
156156
},
157-
"production": {}
157+
"production": {
158+
"plugins": [
159+
"babel-plugin-unassert",
160+
[
161+
"transform-remove-console",
162+
{
163+
"exclude": [
164+
"log",
165+
"error",
166+
"warn"
167+
]
168+
}
169+
]
170+
]
171+
}
158172
}
159173
}
160174
}

0 commit comments

Comments
 (0)