(s: string)
| 164 | |
| 165 | export async function requestModuleFromServer(spec: string): Promise<string> { |
| 166 | const isSfcArtifact = (s: string) => /(?:^|\/)sfc-[a-f0-9]{8}\.mjs$/i.test(s) || /\/_ns_hmr\/src\/sfc\//.test(s) || /__NSDOC__\/_ns_hmr\/src\/sfc\//.test(s); |
| 167 | // Ignore Vite/virtual helper or empty specs |
| 168 | if (/^\/?\0/.test(spec) || /plugin-vue:export-helper/.test(spec)) { |
| 169 | if (__NS_ENV_VERBOSE__) console.log('[hmr-fetch] skipping virtual helper', spec); |
no test coverage detected