| 123456789101112131415161718192021222324252627282930 |
- const exclude = [
- '@babel/plugin-transform-async-to-generator',
- '@babel/plugin-transform-regenerator',
- '@babel/plugin-transform-typeof-symbol',
- ];
- module.exports = {
- presets: [
- [
- '@babel/preset-env', {
- loose: true,
- modules: false,
- exclude,
- },
- ],
- ],
- env: {
- test: {
- presets: [
- [
- '@babel/preset-env', {
- loose: true,
- exclude,
- },
- ],
- ],
- },
- },
- };
|