1.0.1 • Published 3 years ago

rollup-plugin-deno v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.


rollup-plugin-deno

npm version

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