mirror of https://github.com/vuejs/core.git
Merge 714f35f26e
into ba391f5fdf
This commit is contained in:
commit
9ab971dd9a
|
@ -2,7 +2,8 @@
|
||||||
import fs from 'node:fs'
|
import fs from 'node:fs'
|
||||||
import { exec } from './utils.js'
|
import { exec } from './utils.js'
|
||||||
|
|
||||||
exec('pnpm', ['build', 'vue', '-f', 'global-runtime']).then(() => {
|
exec('pnpm', ['build', 'vue', '-f', 'global-runtime'])
|
||||||
|
.then(() => {
|
||||||
const errors = []
|
const errors = []
|
||||||
|
|
||||||
const devBuild = fs.readFileSync(
|
const devBuild = fs.readFileSync(
|
||||||
|
@ -47,3 +48,7 @@ exec('pnpm', ['build', 'vue', '-f', 'global-runtime']).then(() => {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
.catch(error => {
|
||||||
|
console.error(`Treeshaking verification failed: ${error.message}`)
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in New Issue