Some packages missing from snowpack build #1756
Unanswered
rmorshea
asked this question in
Troubleshooting
Replies: 1 comment 12 replies
-
I've noticed this as well. Is the npm depdency {
"snowpack": {
"install": ["a", "b"]
}
} @FredKSchott or @drwpow will need to confirm this though. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have explicitly configured all the packages I want to appear in the build within the
snowpack.install
list. When usingsnowpack install
all the listed packages get populated in./web_modules
as expected. However when I try usingsnowpack build
the./build/web_modules
only includes the dependencies which I assume snowpack's import finder was able to discover.For example if my code only imports package
a
and my config looks a bit like this:The
snowpack install
command will produce:But the
snowpack build
command will produce:How do I force
snowpack build
to include all the same packages thatsnowpack install
does?Further Findings
snowpack && snowpack build
Beta Was this translation helpful? Give feedback.
All reactions