You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is currently behaving expectedly so it's not a bug.
In regards to this feature request, it's hard to draw the line as to when an unresolvable path should be ignored because what if none of the paths are resolvable? Surely, that should error?
Or what if there's an export path (amongst a few) that should be resolved and built, but is missing (e.g. maybe forgot to add file to git), and the build unexpectedly passes because it gets ignored?
i meant ignore natively not by configuring, node for example isnt able to resolve .svelte files so pkgroll should ignore them instead of raising an error.
pkgroll have a complete control on exports property, which is good but also bad for other kind of pkgroll-like libraries that is willing to use exports just like pkgroll in the same project.
Problem
for the following exports:
the lib is trying to read .svelte files too which is not recognized in node env:
Expected behavior
i package svelte files with a different bundler (@sveltejs/package) therefore i would expect an option to ignore some files in exports.
Minimal reproduction URL
https://stackblitz.com/edit/vitejs-vite-kw52rd?file=package.json
Version
v2.0.2
Node.js version
v20.9
Package manager
npm
Operating system
macOS
Contributions
The text was updated successfully, but these errors were encountered: