Skip to content

How to bundle all css modules to one file when Module federation "exposes" is defined in config? #18074

Answered by krutoo
krutoo asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like i missed that my example contains wrong config:

Instead of

name: 'styles',

Config contains:

name: (module, chunks) => chunks[0].runtime,

Replacing fixes build errors

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by krutoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant