Skip to content

Add extractCSS option to schema to enable override of extract-css plugin settings #1061

Closed
@mediaessenz

Description

@mediaessenz

What problem does this feature solve?

Currently it is IMO not possible to override the filename of an extracted css, by defining an extractCSS object in the vue.config.js.
The object itself would be already used here:

const userOptions = options.extractCSS && typeof options.extractCSS === 'object'

but is not allowed by the schema, defined in options.js of the parent dir.

What does the proposed API look like?

Add extractCSS: joi.object() to the schema definition inside cli-service/lib/options.js

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions