node-css-mqpacker icon indicating copy to clipboard operation
node-css-mqpacker copied to clipboard

Add TypeScript definitions

Open michaelbull opened this issue 2 years ago • 0 comments

Add TypeScript definitions for people consuming this in a TypeScript setting - e.g. a webpack.config.ts, or a vite.config.ts (as is my case).

Requires us to explicitly define the files in package.json as a result, as otherwise the index.d.ts file would not be picked up.

I've ensured that both the bin dir and the index.js still get shipped by double checking with npm pack.

michaelbull avatar Apr 28 '22 19:04 michaelbull