Skip to content

Commit c4d39aa

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/a44c42967442d65fd14272682fb84a6f32feb841/src/transforms/babel:setup-env-production.js Please contact the author of the transform if you believe there was an error.
1 parent 935c5a9 commit c4d39aa

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,20 @@
150150
]
151151
},
152152
"production": {
153-
"sourceMaps": "inline"
153+
"sourceMaps": "inline",
154+
"plugins": [
155+
"babel-plugin-unassert",
156+
[
157+
"transform-remove-console",
158+
{
159+
"exclude": [
160+
"log",
161+
"error",
162+
"warn"
163+
]
164+
}
165+
]
166+
]
154167
}
155168
}
156169
},

0 commit comments

Comments
 (0)