diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index dd87e2d7..00000000 --- a/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -build diff --git a/babel.config.js b/babel.config.js index f5195677..35787501 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,13 +3,13 @@ const cjs = NODE_ENV === 'test' || BABEL_ENV === 'commonjs' const loose = true module.exports = { + targets: 'defaults, not ie 11, not ie_mob 11', presets: [ [ '@babel/env', { loose, modules: false, - // useBuiltIns: false, // exclude: ['@babel/plugin-transform-regenerator'], }, ], @@ -17,13 +17,13 @@ module.exports = { '@babel/preset-typescript', ], plugins: [ - 'babel-plugin-transform-async-to-promises', + // 'babel-plugin-transform-async-to-promises', cjs && ['@babel/transform-modules-commonjs', { loose }], // [ // '@babel/transform-runtime', // { // useESModules: !cjs, - // version: require('./package.json').devDependencies[ + // version: require('./package.json').dependencies[ // '@babel/runtime' // ].replace(/^[^0-9]*/, ''), // }, diff --git a/examples/react/dynamic/index.html b/examples/react/dynamic/index.html index ec41bbdd..dfcecb0b 100644 --- a/examples/react/dynamic/index.html +++ b/examples/react/dynamic/index.html @@ -4,6 +4,7 @@