You can’t use ?raw in dynamic import in @vite_js production (rollup) build. Using import.meta.glob(‘…’, {as:’raw’}) just statically insert strings, not lazy.
You can't use ?raw in dynamic import in @vite_js production (rollup) build. Using import.meta.glob('...', {as:'raw'}) just statically insert strings, not lazy.