fix(frontend): add back crypto as a client side dependency (#5406)

This commit is contained in:
Gergő Jedlicska
2025-09-09 17:03:09 +02:00
committed by GitHub
parent 24d159d3cb
commit 122f7829a2
+2 -2
View File
@@ -27,7 +27,7 @@ const hydrationMismatchReportingEnabled = ['1', 'true', true, 1].includes(
HYDRATION_MISMATCH_REPORTING
)
const external = ['ioredis', 'crypto', 'jsdom']
const external = ['ioredis', 'jsdom']
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
@@ -160,7 +160,7 @@ export default defineNuxtConfig({
}
},
// Leave imports as is, they're server-side only
external: ['jsdom', 'crypto']
external: ['jsdom']
}
// // optionally disable minification for debugging
// minify: false,