This commit is contained in:
seb
2026-09-23 09:49:55 +02:00
parent b7fdbb3011
commit c21a951884
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
// Browser stub for node:module imported conditionally by pdfconvert-wasm in Node environments
export const createRequire = () => () => ({});
export default { createRequire };

View File

@@ -83,6 +83,9 @@ const sharedDeps = [
const sharedResolve = {
dedupe: sharedDeps,
alias: {
'node:module': path.resolve(__dirname, 'src/utils/emptyNodeModule.js'),
},
};
const sharedServer = {