Want to be able to import webpack plugins to the webpack config in vue.config.js #993
Closed
Description
What problem does this feature solve?
Currently there is no way to import new webpack plugins to the vue.config.js. At least not that I know of. Please enlighten me if I'm mistaken.
My use case is that I've made modifications to an already existing webpack plugin, and I want to use my version instead.
What does the proposed API look like?
// vue.config.js
import NameOfPlugin from 'path/to/plugin';
module.exports = {
configureWebpack: {
plugins: [
new NameOfPlugin()
]
}
};
Metadata
Assignees
Labels
No labels