@quentinadam/rollup-plugin-typescript
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

@quentinadam/rollup-plugin-typescript

npm version code style: prettier

Installation

npm install @quentinadam/rollup-plugin-typescript

Usage with Rollup.js

rollup.config.js

// rollup.config.js
import typescript from '@quentinadam/rollup-plugin-typescript';

export default {
  input: './src/index.ts',
  output: [{
    file: './dist/index.js',
    format: 'iife',
  }],
  plugins: [
    typescript(),
  ],
};

File structure

dist/
src/
  index.ts
  ...
rollup.config.js
tsconfig.json

Readme

Keywords

none

Package Sidebar

Install

npm i @quentinadam/rollup-plugin-typescript

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

12.2 kB

Total Files

7

Last publish

Collaborators

  • quentinadam