esbuild-plugin-solid
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -35,2 +35,4 @@ var __create = Object.create; | ||
var import_core = __toModule(require("@babel/core")); | ||
var import_babel_preset_solid = __toModule(require("babel-preset-solid")); | ||
var import_preset_typescript = __toModule(require("@babel/preset-typescript")); | ||
var JSX_RE = /<.+?>/gim; | ||
@@ -49,3 +51,3 @@ function solidPlugin() { | ||
const {code} = await import_core.transformAsync(source, { | ||
presets: ["solid", "@babel/preset-typescript"], | ||
presets: [import_babel_preset_solid.default, import_preset_typescript.default], | ||
filename, | ||
@@ -52,0 +54,0 @@ sourceMaps: "inline" |
@@ -5,2 +5,4 @@ // src/plugin.ts | ||
import {transformAsync} from "@babel/core"; | ||
import solid from "babel-preset-solid"; | ||
import ts from "@babel/preset-typescript"; | ||
var JSX_RE = /<.+?>/gim; | ||
@@ -19,3 +21,3 @@ function solidPlugin() { | ||
const {code} = await transformAsync(source, { | ||
presets: ["solid", "@babel/preset-typescript"], | ||
presets: [solid, ts], | ||
filename, | ||
@@ -22,0 +24,0 @@ sourceMaps: "inline" |
{ | ||
"name": "esbuild-plugin-solid", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Solid's integration for ESBuild", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/plugin.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6038
90