mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
fix: set "useBuiltIns": false in babel config
This commit is contained in:
parent
60a58f18a4
commit
1dcdc6ff34
10
.babelrc
10
.babelrc
@ -4,7 +4,7 @@
|
|||||||
// Latest stable ECMAScript features
|
// Latest stable ECMAScript features
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
{
|
{
|
||||||
"useBuiltIns": "entry",
|
"useBuiltIns": false,
|
||||||
// Do not transform modules to CJS
|
// Do not transform modules to CJS
|
||||||
"modules": false,
|
"modules": false,
|
||||||
"targets": {
|
"targets": {
|
||||||
@ -20,8 +20,12 @@
|
|||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["@babel/plugin-proposal-class-properties"],
|
["@babel/plugin-proposal-class-properties"],
|
||||||
["@babel/plugin-transform-destructuring", { "useBuiltIns": true }],
|
["@babel/plugin-transform-destructuring", {
|
||||||
["@babel/plugin-proposal-object-rest-spread", { "useBuiltIns": true }],
|
"useBuiltIns": true
|
||||||
|
}],
|
||||||
|
["@babel/plugin-proposal-object-rest-spread", {
|
||||||
|
"useBuiltIns": true
|
||||||
|
}],
|
||||||
[
|
[
|
||||||
// Polyfills the runtime needed for async/await and generators
|
// Polyfills the runtime needed for async/await and generators
|
||||||
"@babel/plugin-transform-runtime",
|
"@babel/plugin-transform-runtime",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user