UNPKG

@visulima/packem

Version:

A fast and modern bundler for Node.js and TypeScript.

15 lines (14 loc) 437 B
/** * Modified copy of https://github.com/egoist/rollup-plugin-esbuild/blob/dev/src/minify.ts * * MIT License * * Copyright (c) 2020 EGOIST */ import type { TransformOptions } from "esbuild"; import type { Plugin } from "rollup"; type Options = Omit<TransformOptions, "sourcemap"> & { sourceMap?: boolean; }; declare const getRenderChunk: ({ sourceMap, ...options }: Options) => Plugin["renderChunk"]; export = getRenderChunk;