Skip to content

Commit

Permalink
[python] Update to esbuild script (#10470)
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
Chris Barber and styfle committed Sep 8, 2023
1 parent 0a08e4b commit 6baefc8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 33 deletions.
5 changes: 5 additions & 0 deletions .changeset/slow-tips-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@vercel/python': patch
---

Update to esbuild script
29 changes: 0 additions & 29 deletions packages/python/build.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"directory": "packages/python"
},
"scripts": {
"build": "node build",
"build": "node ../../utils/build-builder.mjs",
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --runInBand --bail",
"test-unit": "pnpm test test/unit.test.ts",
"test-e2e": "pnpm test test/integration-*"
Expand Down
5 changes: 2 additions & 3 deletions packages/python/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"declaration": true,
"declaration": false,
"esModuleInterop": true,
"lib": ["ES2021"],
"module": "commonjs",
Expand All @@ -15,6 +15,5 @@
"strict": true,
"target": "ES2021"
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"include": ["src/**/*"]
}

0 comments on commit 6baefc8

Please sign in to comment.