Skip to content

Cannot fully override rule in Webpack config #1055

@michaelpumo

Description

@michaelpumo

Version

3.0.0-beta.6

Reproduction link

https://github.com/divyamrastogi/config-override-bug-demo

Steps to reproduce

Go to App.vue to see the loading of the SVG asset. The SVG contents is displayed in the view.

What is expected?

svg-sprite-loader is not being used (setup in vue.config.js) to process SVG files. The Star data property should be an object after being processed by this loader.

What is actually happening?

The SVG is still being processed with file-loader from the default Webpack configuration and is therefore returning a string. It appears the config makes no difference to the processing of the SVG.

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