Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack behavior incorrectly assumes the starting directory for resolving files is the users current working directory #375

Open
NullVoxPopuli opened this issue Mar 15, 2024 · 0 comments

Comments

@NullVoxPopuli
Copy link
Contributor

NullVoxPopuli commented Mar 15, 2024

Environment

I already put up a PR with info here: #374

unplugin: ^1.10.0
node: 18.19.0

Reproduction

https://github.com/NullVoxPopuli/embroider-3--unplugin-plugin-loads-app-files

initial report (with a lot more details): embroider-build/embroider#1843 (embroider for all intents and purposes of this bug report is a webpack plugin)

Describe the bug

the webpack plugin assumes that the resolving should happen from the user's CWD -- but an alternate CWD may be used in some environments, causing resolution of files to fail.

Additional context

No response

Logs

See: https://github.com/embroider-build/embroider/issues/1843
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant