rollup-plugin-esbuild:结合使用ESBuild和Rollup来转换ESNext和TypeScript代码

时间:2021-03-19 17:23:40
【文件属性】:
文件名称:rollup-plugin-esbuild:结合使用ESBuild和Rollup来转换ESNext和TypeScript代码
文件大小:75KB
文件格式:ZIP
更新时间:2021-03-19 17:23:40
typescript rollup esnext esbuild TypeScript :yellow_heart:您可以通过来帮助作者成为一名全职开源维护者。 汇总插件构建 是迄今为止最快的TS / ES之一,仅次于ES6编译器和压缩程序,此插件可为您替换rollup-plugin-typescript2 , @rollup/plugin-typescript rollup-plugin-terser和rollup-plugin-terser 。 安装 yarn add esbuild rollup-plugin-esbuild --dev 用法 在rollup.config.js : import esbuild from 'rollup-plugin-esbuild' export default { plugins : [ esbuild ( { // All options are optional include : / \. [ jt ] sx?
【文件预览】:
rollup-plugin-esbuild-master
----.gitignore(23B)
----tsconfig.json(6KB)
----README.md(3KB)
----.github()
--------workflows()
----test()
--------index.test.ts(4KB)
----.prettierrc(42B)
----LICENSE(1KB)
----.releaserc.json(454B)
----package.json(1KB)
----CONTRIBUTING.md(140B)
----src()
--------index.ts(4KB)
--------options.ts(868B)
----scripts()
--------build.ts(856B)
----jest.config.js(288B)
----example()
--------rollup.config.js(223B)
--------foo.tsx(99B)
--------index.js(41B)
----yarn.lock(159KB)

网友评论