mirror of https://github.com/vuejs/core.git
build: do not throw when running `build --release` for the 1st time (#7587)
This commit is contained in:
parent
261fc12443
commit
e340add5a5
|
|
@ -47,6 +47,7 @@ async function run() {
|
|||
if (isRelease) {
|
||||
// remove build cache for release builds to avoid outdated enum values
|
||||
await fs.rm(path.resolve(__dirname, '../node_modules/.rts2_cache'), {
|
||||
force: true,
|
||||
recursive: true
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue