File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 3939 ],
4040 "exports" : {
4141 "." : {
42- "require" : " ./dist/index.js" ,
43- "import" : " ./dist/index.mjs"
42+ "types" : " ./dist/index.d.ts" ,
43+ "require" : " ./dist/index.cjs" ,
44+ "import" : " ./dist/index.js"
4445 }
4546 },
46- "main" : " ./dist/index.js " ,
47- "module" : " ./dist/index.mjs " ,
47+ "main" : " ./dist/index.cjs " ,
48+ "module" : " ./dist/index.js " ,
4849 "types" : " ./dist/index.d.ts" ,
4950 "files" : [
50- " dist/**/* "
51+ " dist"
5152 ],
5253 "scripts" : {
5354 "prepare" : " husky install" ,
5455 "lint" : " eslint . --ext .ts --ignore-path .gitignore src" ,
5556 "lint:fix" : " eslint --ext .ts --ignore-path .gitignore --fix src" ,
56- "build" : " tsup lib/index.ts --dts --format cjs,esm" ,
57+ "build" : " tsup lib/index.ts --dts --format cjs,esm --clean " ,
5758 "build:example" : " pnpm run build && vue-tsc --noEmit && vite build" ,
5859 "dev" : " pnpm run build -- --watch && vite" ,
5960 "preview" : " vite preview" ,
You can’t perform that action at this time.
0 commit comments