mirror of
https://github.com/LukeHagar/crossws.git
synced 2025-12-06 12:27:46 +00:00
build: externalize uWebSockets.js
This commit is contained in:
@@ -6,7 +6,7 @@ export default defineBuildConfig({
|
||||
rollup: {
|
||||
inlineDependencies: true,
|
||||
},
|
||||
externals: ["@cloudflare/workers-types", "bun", "@deno/types"],
|
||||
externals: ["@cloudflare/workers-types", "bun", "@deno/types", "uWebSockets.js"],
|
||||
hooks: {
|
||||
async "build:done"(ctx) {
|
||||
const entries = Object.keys(ctx.pkg.exports || {})
|
||||
|
||||
Reference in New Issue
Block a user