esbuild-plugin-babel
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "esbuild-plugin-babel", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Babel plugin for esbuild.", | ||
@@ -8,3 +8,3 @@ "repository": "nativew/esbuild-plugin-babel", | ||
"license": "ISC", | ||
"exports": "src/index.js", | ||
"exports": "./src/index.js", | ||
"main": "src/index.js", | ||
@@ -11,0 +11,0 @@ "type": "module", |
@@ -21,3 +21,3 @@ # esbuild-plugin-babel | ||
import esbuild from 'esbuild'; | ||
import pluginBabel from 'esbuild-plugin-babel'; | ||
import babel from 'esbuild-plugin-babel'; | ||
@@ -29,3 +29,3 @@ esbuild | ||
outfile: 'main.js', | ||
plugins: [pluginBabel()] | ||
plugins: [babel()] | ||
}) | ||
@@ -53,3 +53,3 @@ .catch(() => process.exit(1)); | ||
```js | ||
pluginBabel({ | ||
babel({ | ||
filter = /.*/, | ||
@@ -66,3 +66,3 @@ namespace = '', | ||
"presets": [["@babel/preset-env", { "modules": false }]], | ||
"plugins": [...], | ||
"plugins": ["@babel/plugin"], | ||
"sourceMaps": "inline" | ||
@@ -69,0 +69,0 @@ } |
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
3326