rollup-plugin-deno
This plugin uses Deno's Node.js compatibility layer, not all built-in Node.js modules are supported.
Install
npm i rollup-plugin-deno -D
Usage
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.
License
MIT © EGOIST