1.0.7 • Published 6 years ago

rollup-plugin-svelte-dts v1.0.7

Weekly downloads
33
License
-
Repository
-
Last release
6 years ago

rollup-plugin-svelte-dts

Generate TypeScript definition files from Svelte JavaScript files

Installation

npm install --save-dev rollup-plugin-svelte-dts

Usage

Import rollup-plugin-svelte-dts in your rollup.config.js. Place it in your array of Rollup plugins before the main svelte plugin. Place svelte type definition files from examples/typings to your application source folder. Currently it will generate *.html.d.ts files only if same name of js file is present in same folder.

How to run example

npm run build:ts
npm run build:example
npm start

Credits

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago