Skip to content

Commit

Permalink
Merge pull request #1272 from JipSterk/fix-drizzle-build
Browse files Browse the repository at this point in the history
@pothos/plugin-drizzle add missing swc option
  • Loading branch information
hayes authored Aug 7, 2024
2 parents de85b1f + 4b7d1e9 commit 979f73e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-drizzle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"type": "tsc --project tsconfig.type.json",
"build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm",
"build:clean": "git clean -dfX esm lib",
"build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions",
"build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths",
"build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths && pnpm esm:extensions",
"build:dts": "tsc",
"esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts",
"test": "pnpm vitest --run"
Expand Down

0 comments on commit 979f73e

Please sign in to comment.