Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Preload inject_styles.js #1530

Closed
Closed
@benmccann

Description

@benmccann

Originally reported by @arekbartnik in #1524 (comment)

I'm really stumped on how to do this cleanly. See rollup/rollup#3790

I could do something kind of hacky and just look for a file named inject_styles.[hash].js. However, I've refactored the plugin to be two plugins now and would like to move out the css injection plugin to live in a separate codebase. That will give the user control over css handling and they can use the css code splitting and injection plugin, or another plugin to put everything in a single css bundle, or rollup-post-css or whatever else they want to do. At that point, it seems too tied to the current implementation to be looking specifically for inject_styles

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions