Skip to content

Commit ac5c9ea

Browse files
[#49] Fix Typescript types (#52)
* Fix Typescript declaration types * 2.1.1
1 parent 173f09b commit ac5c9ea

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "vite-plugin-css-injected-by-js",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "A Vite plugin that takes the CSS and adds it to the page through the JS. For those who want a single JS file.",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",
77
"exports": {
88
".": {
9+
"types": "./dist/esm/declarations/index.d.ts",
910
"import": "./dist/esm/index.js",
1011
"require": "./dist/cjs/index.js"
1112
}

0 commit comments

Comments
 (0)