pull/10297/head
Simon Holthausen 3 years ago
parent 1f4b3efb52
commit fff400e637

@ -12,6 +12,7 @@ export default defineConfig({
customResolver: (id, importer) => {
// For some reason this turns up as "undefined" instead of "svelte"
const exported = pkg.exports[id.replace('undefined', '.')];
console.log('importing', id, 'from', importer, !!exported);
if (!exported) return;
// When running the server version of the Svelte files,

Loading…
Cancel
Save