一覧へ戻る
egoist/rollup-plugin-deno(新しいタブで開きます)
主要言語: TypeScript
Create a bundle for Deno runtime
- star 数
- 28
- watcher 数
- 1
- fork 数
- 1
- issue 数
- 1
- 最終更新
- 2021/12/25
主要言語: TypeScript
Create a bundle for Deno runtime
💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
This plugin uses Deno's Node.js compatibility layer, not all built-in Node.js modules are supported.
npm i rollup-plugin-deno -D
import deno from 'rollup-plugin-deno' export default { input: './index.ts', output: { format: 'esm', file: 'mod.js', }, plugins: [deno()], }
It's also recommended to use rollup-plugin-dts to bundle your TypeScript declaration file.
MIT © EGOIST