Skip to content

Commit

Permalink
update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
qwinsi committed Sep 8, 2024
1 parent 4ac14df commit df8eac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {
"prebuild": "rimraf dist/",
"build:node": "bun build --entrypoints src/index.ts --outdir ./dist --target node --external katex",
"build:node": "bun build --entrypoints src/index.ts --outdir ./dist --target node",
"build:browser": "bun build --entrypoints src/tex2typst.ts --outdir ./dist --target browser --entry-naming [dir]/[name].min.[ext] --minify",
"build:types": "tsc --project ./tsconfig.json",
"build": "npm run build:node && npm run build:browser && npm run build:types",
Expand Down

0 comments on commit df8eac9

Please sign in to comment.