refactor: import bun types from @types/bun

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
This commit is contained in:
Pooya Parsa
2024-01-29 12:50:06 +01:00
parent 6e2b296103
commit ba40b53ae0
4 changed files with 15 additions and 17 deletions

View File

@@ -6,7 +6,7 @@ export default defineBuildConfig({
rollup: {
inlineDependencies: true,
},
externals: ["@cloudflare/workers-types", "bun-types"],
externals: ["@cloudflare/workers-types", "bun"],
hooks: {
async "build:done"(ctx) {
const entries = Object.keys(ctx.pkg.exports || {})