Skip to content

Commit 5d3aecb

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 e4a4ef4 commit 5d3aecb

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

0 commit comments

Comments
 (0)