Skip to content

Commit

Permalink
feat!: drop cjs support
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed May 3, 2023
1 parent 295a04a commit 87ddf43
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 683 deletions.
10 changes: 4 additions & 6 deletions package.json
Expand Up @@ -2,22 +2,21 @@
"name": "vite-plugin-svgr",
"version": "2.4.0",
"description": "Vite plugin to transform SVGs into React components",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"import": "./dist/index.js"
},
"./client": {
"types": "./client.d.ts"
}
},
"scripts": {
"dev": "tsdv watch",
"build": "tsdv build",
"dev": "tsc --watch",
"build": "tsc",
"prepare": "npm run build"
},
"repository": "pd4d10/vite-plugin-svgr",
Expand All @@ -33,7 +32,6 @@
"license": "MIT",
"devDependencies": {
"@types/node": "^18.16.0",
"tsdv": "^0.8.0",
"typescript": "^5.0.4",
"vite": "^4.3.2"
},
Expand Down

0 comments on commit 87ddf43

Please sign in to comment.