Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If the application code is correctly polyfilled, then an additional plugin is not needed (it is already in the package lock, bundled with the babel preset).
And what you need is to include for the polyfill plugins in node_modules that contain unsupported (not transpiled) code.
This is done in the babel-loader configuration (node_modules are usually excluded). https://webpack.js.org/loaders/babel-loader/#usage
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question