We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec508c7 commit 87cc98aCopy full SHA for 87cc98a
packages/@vue/cli-service/lib/webpack/MovePlugin.js
@@ -8,7 +8,9 @@ module.exports = class MovePlugin {
8
9
apply (compiler) {
10
compiler.hooks.done.tap('move-plugin', () => {
11
- fs.moveSync(this.from, this.to, { overwrite: true })
+ if (fs.existsSync(this.from)) {
12
+ fs.moveSync(this.from, this.to, { overwrite: true })
13
+ }
14
})
15
}
16
0 commit comments