Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch rollup-plugin-svelte@5.2.3 for the project I'm working on.
The problem is that svelte has an exports map in its package.json that expresses that svelte/compiler corresponds to svelte/compiler.mjs and does not also provide a svelte/compiler.js mapping. rollup-plugin-svelte takes a dependency on the latter, depending on the Node.js version.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
rollup-plugin-svelte@5.2.3
for the project I'm working on.The problem is that
svelte
has anexports
map in itspackage.json
that expresses thatsvelte/compiler
corresponds tosvelte/compiler.mjs
and does not also provide asvelte/compiler.js
mapping.rollup-plugin-svelte
takes a dependency on the latter, depending on the Node.js version.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.