Repository navigation
dev server: make a CSS module a registry module in each graph that imports it #42058
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
Open
robobun
wants to merge
36
commits into
main
Choose a base branch
from
robobun/e0e15596/dev-server-css-modules
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
0302341
dev server: ship a CSS module's class-name map as an HMR module
robobun 33c8ea8
dev server: bundle a stylesheet again when a module imports one that …
robobun d53ee8d
trim comments
robobun 5384e16
test(bake): cover a shared css module instance, an emptied css module…
robobun 13c2910
dev server: give a disabled import with bindings an empty namespace
robobun 81136b2
trim comment
robobun 4444089
Merge branch 'main' into robobun/e0e15596/dev-server-css-modules
robobun 906d532
dev server: report a bad `composes` as a build error, and drop the cl…
robobun 4b4088b
trim comment
robobun 2ba6c98
dev server: keep the edges of a CSS module that fails on `composes`, …
robobun 33d17ff
dev server: keep the last good stylesheet when a CSS module fails on …
robobun f863271
bundler: a CSS module links to its class-name module in every graph o…
robobun 9f9463e
dev server: a CSS module is a module in every graph that imports it
robobun 5d556f4
test: a file that an onResolve plugin declines is a module of each graph
robobun efef93d
bundler: free a server component parse task after it ran
robobun 2101276
trim comments
robobun 7591d39
bundler: own the server component task box while its callback runs
robobun d490d29
dev server: write the server record of each stylesheet copy that a se…
robobun ea73c4c
Revert "dev server: write the server record of each stylesheet copy t…
robobun 78929be
dev server: drop the ES view of a CommonJS module after its wrapper ran
robobun dfb3392
dev server: queue the server copies of a CSS module in the invalidate…
robobun 1338901
dev server: bind the empty module only for the import of a stylesheet
robobun 50ada1e
dev server: give the link of a bundle an AST scope
robobun 1c5811b
dev server: fail a CSS module with an invalid import in the graph of …
robobun e41a41b
dev server: run the cross-file `composes` checks of the link step
robobun 93cd173
bundler: say why a production build keeps the `ssr:` prefix in CSS mo…
robobun 53d54be
test: dev server CSS modules with a page open, in each graph, and on …
robobun 6838126
trim comments
robobun f276138
dev server: decide at the link which graph records the failure of a s…
robobun 8590608
dev server: do not record a failure for the unused copy of a plain st…
robobun d7355e9
test: a failed stylesheet that only stylesheets import, under a serve…
robobun d9b8325
dev server: keep a failed stylesheet that stylesheets import a css child
robobun ca4ce86
dev server: give a file its stale bit when its chunk is received
robobun faef438
test: check the error of the route before the fix of the stylesheet
robobun 192d5bc
dev server: leave the server record of a plain stylesheet when an imp…
robobun 9328360
trim a comment
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
Some comments aren't visible on the classic Files Changed page.
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
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
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
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.