Skip to content

Commit

Permalink
fix main bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
rudnik275 committed Feb 25, 2024
1 parent d3dd322 commit 068f861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"description": "Build large forms and track all changes",
"type": "module",
"scripts": {
"build": "tsc && esbuild ./dist/build/index.js --bundle --external:vue --minify --outfile=./dist/index.js && rm -rf ./dist/build",
"build": "esbuild ./src/index.ts --bundle --external:vue --outfile=./dist/index.mjs --format=esm",
"test": "vitest run"
},
"main": "./dist/index.js",
"main": "./dist/index.mjs",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
Expand Down

0 comments on commit 068f861

Please sign in to comment.