Answer the question
In order to leave comments, you need to log in
How to remove unused modules in babel presets?
There are several presets in the .babelrc config:
"presets": [
"es2015",
"react",
"stage-0"
],
Answer the question
In order to leave comments, you need to log in
node 6.0+ supports es2015 100%, you can simply remove the es2015 preset
if you need non-standard es-modules (import/export) - just install them with a plugin, without a preset
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question