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
{{ message }}
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.
This is in plugin-build-web. I believe the cause of the problem is that files are copied into a dist-src/ folder before rollup is run. This means attempts to access modules outside of src/ will break the build.
My use case is that I use relative paths to import modules inside of node_modules/ because that's the only way it works in the browser. I think this could be fixed if pika created a symlink in pkg/ to the parent node_modules/ folder.
The text was updated successfully, but these errors were encountered:
Yea, for better or worse it is. I say better only because that's what's needed to publish to npm (I know that's still a someone controversial statement in the Polymer community, but it's objectively true that npm does not enforce a deterministic/standard location of your package any its dependencies).
Instead of fighting that, @pika/pack looks to work with the system as it exists today (and how most users expect it to work today) while letting @pika/web solve the web-compatiblity issue at install time.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is in plugin-build-web. I believe the cause of the problem is that files are copied into a
dist-src/
folder before rollup is run. This means attempts to access modules outside ofsrc/
will break the build.My use case is that I use relative paths to import modules inside of
node_modules/
because that's the only way it works in the browser. I think this could be fixed if pika created a symlink inpkg/
to the parentnode_modules/
folder.The text was updated successfully, but these errors were encountered: