Skip to content

Commit 87ddf43

Browse files
committed
feat!: drop cjs support
1 parent 295a04a commit 87ddf43

File tree

3 files changed

+8
-683
lines changed

3 files changed

+8
-683
lines changed

package.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,21 @@
22
"name": "vite-plugin-svgr",
33
"version": "2.4.0",
44
"description": "Vite plugin to transform SVGs into React components",
5+
"type": "module",
56
"main": "./dist/index.js",
6-
"module": "./dist/index.mjs",
77
"types": "./dist/index.d.ts",
88
"exports": {
99
".": {
1010
"types": "./dist/index.d.ts",
11-
"import": "./dist/index.mjs",
12-
"require": "./dist/index.js"
11+
"import": "./dist/index.js"
1312
},
1413
"./client": {
1514
"types": "./client.d.ts"
1615
}
1716
},
1817
"scripts": {
19-
"dev": "tsdv watch",
20-
"build": "tsdv build",
18+
"dev": "tsc --watch",
19+
"build": "tsc",
2120
"prepare": "npm run build"
2221
},
2322
"repository": "pd4d10/vite-plugin-svgr",
@@ -33,7 +32,6 @@
3332
"license": "MIT",
3433
"devDependencies": {
3534
"@types/node": "^18.16.0",
36-
"tsdv": "^0.8.0",
3735
"typescript": "^5.0.4",
3836
"vite": "^4.3.2"
3937
},

0 commit comments

Comments
 (0)