Title: Webpack behavior incorrectly assumes the starting directory for resolving files is the users current working directory · Issue #375 · unjs/unplugin · GitHub
Open Graph Title: Webpack behavior incorrectly assumes the starting directory for resolving files is the users current working directory · Issue #375 · unjs/unplugin
X Title: Webpack behavior incorrectly assumes the starting directory for resolving files is the users current working directory · Issue #375 · unjs/unplugin
Description: 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/e...
Open Graph Description: 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 (wit...
X Description: 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 (wit...
Opengraph URL: https://github.com/unjs/unplugin/issues/375
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Webpack behavior incorrectly assumes the starting directory for resolving files is the users current working directory","articleBody":"### Environment\r\n\r\nI already put up a PR with info here: https://github.com/unjs/unplugin/pull/374\r\n\r\nunplugin: `^1.10.0`\r\nnode: `18.19.0`\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/NullVoxPopuli/embroider-3--unplugin-plugin-loads-app-files\r\n\r\ninitial report (with a lot more details): https://github.com/embroider-build/embroider/issues/1843 (embroider for all intents and purposes of this bug report is a webpack plugin)\r\n\r\n### Describe the bug\r\n\r\nthe 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.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n```sh\r\nSee: https://github.com/embroider-build/embroider/issues/1843\r\n```\r\n","author":{"url":"https://github.com/NullVoxPopuli","@type":"Person","name":"NullVoxPopuli"},"datePublished":"2024-03-15T16:41:34Z","url":"https://github.com/unjs/unplugin/issues/375"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:87efb4d6-f127-4807-24f2-f5ec5807a4a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8978:31F9AC:2472F1:32D1C1:6B00690C |
| html-safe-nonce | 1c6f1f329835a5f0ccec2a21199914a73c7a2f4a98a2f27a47caed4ff1c5209a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTc4OjMxRjlBQzoyNDcyRjE6MzJEMUMxOjZCMDA2OTBDIiwidmlzaXRvcl9pZCI6IjM4NTk4OTIxMTAwNTIzMjE1NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9f3d7a4eaed43d7b3db6f89cdc705a0371ee9f8c300549d2229b20c243e4790c |
| hovercard-subject-tag | issue:2189065031 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/unjs/unplugin/375/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c796d7e43ce032fbb335ec3bac9d81403b9ef80bd8ec5b6b2bae2e43a1dad33/unjs/unplugin/issues/375 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c796d7e43ce032fbb335ec3bac9d81403b9ef80bd8ec5b6b2bae2e43a1dad33/unjs/unplugin/issues/375 |
| og:image:alt | 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 (wit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | NullVoxPopuli |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-preview |
| go-import | github.com/unjs/unplugin git https://github.com/unjs/unplugin.git |
| octolytics-dimension-user_id | 80154025 |
| octolytics-dimension-user_login | unjs |
| octolytics-dimension-repository_id | 385261169 |
| octolytics-dimension-repository_nwo | unjs/unplugin |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 385261169 |
| octolytics-dimension-repository_network_root_nwo | unjs/unplugin |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width