Skip to content

Commit dee22aa

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

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
@@ -153,7 +153,21 @@
153153
]
154154
]
155155
},
156-
"production": {}
156+
"production": {
157+
"plugins": [
158+
"babel-plugin-unassert",
159+
[
160+
"transform-remove-console",
161+
{
162+
"exclude": [
163+
"log",
164+
"error",
165+
"warn"
166+
]
167+
}
168+
]
169+
]
170+
}
157171
}
158172
}
159173
}

0 commit comments

Comments
 (0)