@entreprise-os/vitest-config 2.4.83 → 2.4.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tsdown-externals.ts +10 -3
package/package.json
CHANGED
package/tsdown-externals.ts
CHANGED
|
@@ -71,9 +71,6 @@ export const commonDataExternals = [
|
|
|
71
71
|
// AWS SDK (complex re-exports that cause rolldown issues with treeshaking)
|
|
72
72
|
/^@aws-sdk\//,
|
|
73
73
|
|
|
74
|
-
// tRPC (has CommonJS internals that cause node:module issues)
|
|
75
|
-
/^@trpc\//,
|
|
76
|
-
|
|
77
74
|
// pdfs
|
|
78
75
|
"pdf-lib",
|
|
79
76
|
|
|
@@ -101,6 +98,16 @@ export const commonDataExternals = [
|
|
|
101
98
|
"@tanstack/react-query",
|
|
102
99
|
"sonner",
|
|
103
100
|
|
|
101
|
+
// Testing (vitest uses node:module which breaks browser builds)
|
|
102
|
+
"vitest",
|
|
103
|
+
/^@vitest\//,
|
|
104
|
+
|
|
105
|
+
// tRPC (complex re-exports)
|
|
106
|
+
/^@trpc\//,
|
|
107
|
+
|
|
108
|
+
// Express (has CommonJS dependencies like debug that use node:module)
|
|
109
|
+
"express",
|
|
110
|
+
|
|
104
111
|
// Node.js built-ins
|
|
105
112
|
/^node:/,
|
|
106
113
|
"fs",
|