We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
data:
1 parent c1d3fc9 commit 4886d9fCopy full SHA for 4886d9f
packages/vite/src/node/ssr/ssrModuleLoader.ts
@@ -235,7 +235,7 @@ async function nodeImport(
235
resolveOptions: InternalResolveOptionsWithOverrideConditions,
236
) {
237
let url: string
238
- if (id.startsWith('node:') || isBuiltin(id)) {
+ if (id.startsWith('node:') || id.startsWith('data:') || isBuiltin(id)) {
239
url = id
240
} else {
241
const resolved = tryNodeResolve(
0 commit comments