Skip to content

Generate separate CSS file for each chunk(not only initial chunk)? #1758

Description

@PinkyJie

Is it possible to generate separate CSS file for each chunk?
new ExtractTextPlugin('[name].css') can only generate CSS file for entry chunks(initial chunks), if I add parameter {allChunks: true}, it will output CSS in other chunks in the initial chunks also. Is there a way to exclude CSS in non-initial chunks and output them in separate file?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: staleNo author response after a needs: request; close candidate

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions