Skip to content

New option: EmitFile, similar to file-loader to allow for the plugin ***not*** to emit the assets #713

Closed
@ferdinando-ferreira

Description

@ferdinando-ferreira
  • Operating System: Any
  • Node Version: Any
  • NPM Version: Any
  • webpack Version: Any
  • mini-css-extract-plugin Version: Any

Feature Proposal

Addition of the option emitFile, similar to the one existing in other plugins like file-loader (see: https://webpack.js.org/loaders/file-loader/#emitfile

Feature Use Case

Much like in the file-loader use case, it allows for the resource to be extracted from the javascript (reducing its size) without actually creating the resource on disk, useful to when a SSR version of the javascript file is being generated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions