mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-24 08:08:54 -06:00
15 lines
383 B
JavaScript
15 lines
383 B
JavaScript
/** @type {import('@vue/cli').GeneratorPlugin} */
|
|
module.exports = (api) => {
|
|
api.extendPackage({
|
|
devDependencies: {
|
|
'webpack': '^4.0.0'
|
|
},
|
|
// Force resolutions is more reliable than module-alias
|
|
// Yarn and PNPM 5.10+ support this feature
|
|
// So we'll try to use that whenever possible
|
|
resolutions: {
|
|
'@vue/cli-*/webpack': '^4.0.0'
|
|
}
|
|
})
|
|
}
|