stimulus-reveal-controller icon indicating copy to clipboard operation
stimulus-reveal-controller copied to clipboard

Export TS types

Open janklimo opened this issue 3 years ago • 1 comments

This would be a quick win since the package is written in TS.

Something like this could do the trick:

{
  "scripts": {
    "build": "tsup ./src/index.ts --format esm,cjs --dts --minify",
  }
}

or there seems to be a vite plugin.

janklimo avatar Jan 06 '23 09:01 janklimo

Hi @janklimo

Great idea!

Can you open a PR with tsup and the package.json updated?

Thank!

guillaumebriday avatar Jan 16 '23 21:01 guillaumebriday