rollup-plugin-esbuild
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -68,2 +68,3 @@ 'use strict'; | ||
outdir: "dist", | ||
platform: "node", | ||
plugins: [ | ||
@@ -101,3 +102,3 @@ { | ||
if (contents == null) { | ||
return void 0; | ||
contents = await fs__default['default'].promises.readFile(args.path, "utf8"); | ||
} | ||
@@ -104,0 +105,0 @@ const transformed = await transform(contents, args.path); |
{ | ||
"name": "rollup-plugin-esbuild", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -85,8 +85,10 @@ **💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).** | ||
This plugin also includes an experimental `bundle` mode which lets rollup `resolve`, `load`, and `transform` imported files but leaves bundling to esbuild. | ||
This plugin also includes an experimental `bundle` mode which lets rollup `resolve`, `load`, and `transform` imported files but leaves bundling to esbuild. In my simple test it's around 50% faster than non-bundle mode, but still 10x slower than raw esbuild. | ||
To enable this mode, passing `experimentalBundling: true` to the options. | ||
Current limitation: no code splitting yet. | ||
## License | ||
MIT © [EGOIST (Kevin Titor)](https://github.com/sponsors/egoist) |
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
14080
280
94