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

Missing extracted css for lazily imported/hydrated components #141

Open
SecretPocketCat opened this issue Oct 18, 2022 · 0 comments
Open

Comments

@SecretPocketCat
Copy link

My setup currently uses MiniCssExtractPlugin which doesn't emit during SSR

loader: MiniCssExtractPlugin.loader,
    options: {
        emit: !ssr,
    },

This works fine except for the components that are using the lazy hydration import wrappers which load their styles only once hydration is triggered, ie. once they are hydrated. I'm doing something wrong or is this to be expected and is there a way around this while still using the import wrappers?

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