Skip to content

Commit 6f06a8b

Browse files
a-flying-potatomake-github-pseudonymous-again
authored andcommittedMar 25, 2021
🤖 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/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/babel:setup-env-production.js Please contact the author of the transform if you believe there was an error.
1 parent 90a8205 commit 6f06a8b

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed
 

‎package.json

+15-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,21 @@
122122
"babel-preset-power-assert"
123123
]
124124
},
125-
"production": {}
125+
"production": {
126+
"plugins": [
127+
"babel-plugin-unassert",
128+
[
129+
"transform-remove-console",
130+
{
131+
"exclude": [
132+
"log",
133+
"error",
134+
"warn"
135+
]
136+
}
137+
]
138+
]
139+
}
126140
}
127141
}
128142
}

0 commit comments

Comments
 (0)
Please sign in to comment.