babel-preset-akili
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -6,3 +6,4 @@ | ||
usePresetEnv: true, | ||
useAsyncAwait: true, | ||
useTransformAsync: true, | ||
useTransformRuntime: true, | ||
useDynamicImport: true, | ||
@@ -23,4 +24,5 @@ useClassProperties: true, | ||
options.usePresetEnv && presets.push([require("@babel/preset-env"), options.presetEnvOptions]); | ||
options.useAsyncAwait && plugins.push([require('@babel/plugin-syntax-dynamic-import'), options.pluginAsyncAwaitOptions]); | ||
options.useDynamicImport && plugins.push([require('@babel/plugin-transform-async-to-generator'), options.pluginDynamicImportOptions]); | ||
options.useTransformAsync && plugins.push([require('@babel/plugin-transform-async-to-generator'), options.pluginTransformAsyncOptions]); | ||
options.useTransformRuntime && plugins.push([require('@babel/plugin-transform-runtime'), options.pluginTransformRuntimeOptions]); | ||
options.useDynamicImport && plugins.push([require('@babel/plugin-syntax-dynamic-import'), options.pluginDynamicImportOptions]); | ||
options.useDecorators && plugins.push([require('@babel/plugin-proposal-decorators'), options.pluginDecoratorsOptions]); | ||
@@ -27,0 +29,0 @@ options.useClassProperties && plugins.push([require('@babel/plugin-proposal-class-properties'), options.pluginClassPropertiesOptions]); |
{ | ||
"name": "babel-preset-akili", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Babel preset for Akili framework", | ||
@@ -26,2 +26,3 @@ "main": "./index.js", | ||
"@babel/plugin-transform-async-to-generator": "^7.13.0", | ||
"@babel/plugin-transform-runtime": "^7.13.10", | ||
"@babel/preset-env": "^7.0.0" | ||
@@ -28,0 +29,0 @@ }, |
2379
27
7
+ Added@babel/plugin-transform-runtime@7.26.8(transitive)
+ Addedbabel-plugin-polyfill-corejs3@0.10.6(transitive)