vite-plugin-svgr
Advanced tools
Comparing version 3.1.0 to 3.2.0
{ | ||
"name": "vite-plugin-svgr", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Vite plugin to transform SVGs into React components", | ||
@@ -11,3 +11,4 @@ "type": "module", | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js" | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
@@ -20,3 +21,3 @@ "./client": { | ||
"dev": "tsc --watch", | ||
"build": "tsc", | ||
"build": "tsc --module commonjs && mv dist/index.js dist/index.cjs && tsc", | ||
"prepare": "npm run build" | ||
@@ -23,0 +24,0 @@ }, |
8666
7
117
3