Repository navigation
bundler: resolve ./ and ../ keys of Bun.build files against the cwd in FileMap::put
#46667
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
Closed
Closed
Changes from 3 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
7360a9a
bundler: create the HTML import manifest on the plugin and in-memory …
robobun 70b34c6
bundler: resolve in-memory imports through the same path as files on …
robobun 70af9ef
bundler: register the manifest module at each call site instead of in…
robobun 361a1c4
bundler: shorten the HTML import helper docs
robobun aa0a705
bundler: leave the import record's kind alone when binding it to a ma…
robobun cfd54fa
bundler: resolve a relative `files` key against the cwd in FileMap::put
robobun 1821799
bundler: cut the `files` change down to the key rule
robobun da2faca
docs: say what two spellings of one `files` key do
robobun 151e309
Merge branch 'main' into farm/30313fcf/html-import-plugin-resolve
robobun d332760
bundler: copy the jsx options of an in-memory import only for a new m…
robobun 278bf63
test: run the server bundle of an in-memory HTML import
robobun fe96dce
bundler: keep only the `files` route of the HTML import manifest fix
robobun e8ee882
bundler: move the resolve result once per import record
robobun 3e5ddbb
test: accept the Windows form of a manifest `input` for a `files` key
robobun 615748e
test: run the two Bun.serve cases of an in-memory page concurrently
robobun c84ec3a
bundler: send a `files` hit through the shared steps of `resolve_impo…
robobun 978a5e9
bundler: keep the path from the root for a `[dir]` directory that is …
robobun 47a5a20
bundler: limit the `files` key rule to builds that have a `./` or `..…
robobun d3663aa
test: pin the Windows form of a manifest `input` for a `files` key
robobun 2cf6121
bundler: take the `files` change of #38605 as it is now
robobun 1e7729a
docs: name the absolute path of a `files` file in the default root rule
robobun 370b4ee
Merge the branch of #38605 (farm/30313fcf/html-import-plugin-resolve)…
robobun 3ed147a
bundler: name the output of a `./` key by its path from the cwd
robobun 26de674
test: keep the name of the test for an absolute key as it is on main
robobun c71a44a
bundler: send an absolute entry point of a `./` key to the disk resolver
robobun e90d269
bundler: keep builds with no `./` key as they are on main
robobun 4331347
bundler: add `file_map` to the field list of `LinkerContext::load` on…
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.