(id, parent, job, cjsResolve)
| 226 | moduleSyncCatchall: true, |
| 227 | conditions, |
| 228 | resolve(id, parent, job, cjsResolve) { |
| 229 | const normalizedWasmImports = id.replace(/\.wasm\?module$/i, '.wasm'); |
| 230 | return nftResolveDependency( |
| 231 | normalizedWasmImports, |
| 232 | parent, |
| 233 | job, |
| 234 | cjsResolve |
| 235 | ); |
| 236 | }, |
| 237 | ignore: config.excludeFiles, |
| 238 | async readFile(fsPath) { |
| 239 | const relPath = relative(baseDir, fsPath); |