Congrats on releasing the new export map! Quick issue spotted: Node.js doesn't default to include the package.json file as part of your package, meaning tooling/consumers can't `require('svelte/package.json'). The Rollup plugin currently does this, as do many others.
Snowpack's Svelte template is broken as a result.
The fix is to add this to your export map:
"exports": {
+ "./package.json": "./package.json"
}
Congrats on releasing the new export map! Quick issue spotted: Node.js doesn't default to include the package.json file as part of your package, meaning tooling/consumers can't `require('svelte/package.json'). The Rollup plugin currently does this, as do many others.
Snowpack's Svelte template is broken as a result.
The fix is to add this to your export map:
"exports": { + "./package.json": "./package.json" }