rollup-plugin-deno
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

💛 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

Readme

Keywords

none

Package Sidebar

Install

npm i rollup-plugin-deno

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

27.5 kB

Total Files

6

Last publish

Collaborators

  • egoist