Babel: enable useBuiltIn option to turn on polyfills
This commit is contained in:
@ -4,7 +4,11 @@ const { settings, env } = require('../configuration');
|
||||
module.exports = {
|
||||
test: /\.(js|mjs)$/,
|
||||
include: /node_modules/,
|
||||
exclude: /@babel(?:\/|\\{1,2})runtime/,
|
||||
exclude: [
|
||||
/@babel(?:\/|\\{1,2})runtime/,
|
||||
/\bcore-js\b/,
|
||||
/\bwebpack\/buildin\b/,
|
||||
],
|
||||
use: [
|
||||
{
|
||||
loader: 'babel-loader',
|
||||
|
||||
Reference in New Issue
Block a user