Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

rollup-plugin-esbuild

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-esbuild - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

5

dist/index.d.ts

@@ -18,2 +18,7 @@ import { Plugin } from 'rollup';

/**
* Use this tsconfig file instead
* Disable it by setting to `false`
*/
tsconfig?: string | false;
/**
* Map extension to esbuild loader

@@ -20,0 +25,0 @@ * Note that each entry (the extension) needs to start with a dot

6

dist/index.js

@@ -21,5 +21,5 @@ 'use strict';

});
const getOptions = async (cwd) => {
const getOptions = async (cwd, tsconfig) => {
var _a, _b, _c;
const {data, path} = await joycon2.load(["tsconfig.json"], cwd);
const {data, path} = await joycon2.load([tsconfig || "tsconfig.json"], cwd);
if (path && data) {

@@ -103,3 +103,3 @@ return {

}
const defaultOptions = await getOptions(path.dirname(id));
const defaultOptions = options2.tsconfig === false ? {} : await getOptions(path.dirname(id), options2.tsconfig);
const result = await service.transform(code, {

@@ -106,0 +106,0 @@ loader,

{
"name": "rollup-plugin-esbuild",
"version": "2.4.0",
"version": "2.4.1",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

# rollup-plugin-esbuild
![npm version](https://badgen.net/npm/v/rollup-plugin-esbuild) ![npm downloads](https://badgen.net/npm/dm/rollup-plugin-esbuild)
[esbuild](https://github.com/evanw/esbuild) is by far one of the fastest TS/ESNext to ES6 compilers and minifier, this plugin replaces `rollup-plugin-typescript2`, `@rollup/plugin-typescript` and `rollup-plugin-terser` for you.

@@ -4,0 +6,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc