Sourcemap reference in a package import path #2730
Unanswered
tomerlichtash
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Sourcemaps question here:
When I import a component (e.g. Button) from a package (e.g. UI) I don't get a the sourcemap. e.g.:
However, when I import the same component from a direct path, I do get the sourcemap. e.g.:
I've added sourcemaps to the entire package, both
root
andsrc
folders; Basically, I wish I wouldn't have to explicitly declare thesrc
folder. I tried adding areference
or importing the component in the package index in different ways, but nothing...The package
package.json
declares these:Perhaps that should change?...
Ideas on how to solve this?
Beta Was this translation helpful? Give feedback.
All reactions