Back to results
egoist/rollup-plugin-deno(opens in a new tab)
Language: TypeScript
Create a bundle for Deno runtime
- stars
- 28
- watchers
- 1
- forks
- 1
- open issues
- 1
- Last updated
- 12/25/2021
Language: 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