Skip to content

Commit

Permalink
🔧 chore(package.json): change main file path from src/index.ts to dis…
Browse files Browse the repository at this point in the history
…t/index.js

🔧 chore(package.json): add preinstall script to compile TypeScript files before installing dependencies
  • Loading branch information
ferdiunal committed Apr 18, 2023
1 parent 91b639a commit 302c847
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"name": "vite-cdn-uploader",
"version": "0.1.0",
"description": "A Vite plugin to upload built files to various CDN providers",
"main": "src/index.ts",
"main": "dist/index.js",
"scripts": {
"preinstall": "tsc",
"test": "jest",
"build": "tsc"
},
Expand Down

0 comments on commit 302c847

Please sign in to comment.