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
Actual behavior node_modules/@lhci/server/dist doesn't contain assets folder.
Additional context
It is obviously happening, because there are no direct imports from assets folder, so node-prune considers this folder unnecessary and removes it.
Issue was created rather for anyone who ended up in debugging why fonts and images are not displayed for deployed server. Not sure if many people have in their build process node-prune command, which may cause this unexpected situation.
So feel free to close, if you think no actions are needed at the moment.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
assets
folder innode_modules/@lhci/server/dist
disappears after modules are pruned bynode-prune
.To Reproduce
Steps to reproduce the behavior:
@lhci/server
into a project.npx node-prune ./node_modules
.node_modules/@lhci/server/dist
folder.Expected behavior
node_modules/@lhci/server/dist
containsassets
folder.Actual behavior
node_modules/@lhci/server/dist
doesn't containassets
folder.Additional context
It is obviously happening, because there are no direct imports from
assets
folder, sonode-prune
considers this folder unnecessary and removes it.Issue was created rather for anyone who ended up in debugging why fonts and images are not displayed for deployed server. Not sure if many people have in their build process
node-prune
command, which may cause this unexpected situation.So feel free to close, if you think no actions are needed at the moment.
The text was updated successfully, but these errors were encountered: