Skip to content

Commit c257403

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

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
@@ -145,7 +145,21 @@
145145
"babel-preset-power-assert"
146146
]
147147
},
148-
"production": {}
148+
"production": {
149+
"plugins": [
150+
"babel-plugin-unassert",
151+
[
152+
"transform-remove-console",
153+
{
154+
"exclude": [
155+
"log",
156+
"error",
157+
"warn"
158+
]
159+
}
160+
]
161+
]
162+
}
149163
}
150164
},
151165
"xo": {

0 commit comments

Comments
 (0)