User provided rollup plugin no longer recognized by snowpack. Breaks build. 3.0.13 -> 3.1.2 #3040
Unanswered
manzt
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a snowpack project (v3.0.13) that uses a custom rollup plugin to ignore a difficult child-dependency since it's exports aren't used in the final build. In
v3.1.2
, it seems the plugin hooks I am using (load
) are either ignored by snowpack or other plugins take precedent, breaking my previous build.The example below demonstrates this behavior. It seems that
myPlugin.load
is never called in v3.1, so I can't resolve the import manually.v3.0.13
v3.1.2
Is there any documentation regarding this change, or a description of what behavior to expect for user provided plugins? I'd just like to tell snowpack (moreover esinstall) to ignore a dependency of a dependency since it contains node-js builtins and is never used in my app:
Beta Was this translation helpful? Give feedback.
All reactions