Skip to content

Modify the final webpack config #4272

Closed
@Allenice

Description

@Allenice

What problem does this feature solve?

The vue-cli needs to provide a configuration that modifies the final webpack config before the webpack runs. For example, I need to customize the output file name when building the web component.

What does the proposed API look like?

// vue.config.js
module.exports = {
    finalWebpack: (config) => {
        return config
    }
}

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