use builtins where possible

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2019-12-05 13:45:04 +01:00
parent 388cf5c7b7
commit 940d489375
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
1 changed files with 3 additions and 5 deletions

View File

@ -1,13 +1,11 @@
module.exports = {
plugins: ['@babel/plugin-syntax-dynamic-import'],
presets: [
[
'@babel/preset-env',
{
targets: {
browsers: ['last 2 versions', 'ie >= 11']
}
useBuiltIns: 'usage',
corejs: 3
}
]
]
}
};