From 4389d115b66413e896880874969af51cd8b012b1 Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Fri, 24 Jan 2025 00:22:03 +0200 Subject: [PATCH] use only babel --- lib/src/transpiler/_entry.ts | 3 +-- lib/src/transpiler/babel.ts | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/transpiler/_entry.ts b/lib/src/transpiler/_entry.ts index f5aac7e..d600e78 100644 --- a/lib/src/transpiler/_entry.ts +++ b/lib/src/transpiler/_entry.ts @@ -1,4 +1,3 @@ -import coffeescript from "./coffeescript.ts"; import babel from "./babel.ts"; -register(v => coffeescript(babel(v))); +register(babel); diff --git a/lib/src/transpiler/babel.ts b/lib/src/transpiler/babel.ts index 170a536..adafa92 100644 --- a/lib/src/transpiler/babel.ts +++ b/lib/src/transpiler/babel.ts @@ -47,6 +47,7 @@ export default function babel(next: Compiler): Compiler { availablePlugins["transform-exponentiation-operator"], // ES2015 + availablePlugins["transform-arrow-functions"], availablePlugins["transform-block-scoping"], availablePlugins["transform-classes"], availablePlugins["transform-computed-properties"],