mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Completely delete the build dir. (#1158)
This commit is contained in:
parent
fa590bfd7a
commit
b2360ec567
|
@ -21,7 +21,7 @@ export default async function build (dir) {
|
||||||
await replaceCurrentBuild(dir, buildDir)
|
await replaceCurrentBuild(dir, buildDir)
|
||||||
|
|
||||||
// no need to wait
|
// no need to wait
|
||||||
del(buildDir)
|
del(buildDir, { force: true })
|
||||||
}
|
}
|
||||||
|
|
||||||
function runCompiler (compiler) {
|
function runCompiler (compiler) {
|
||||||
|
|
Loading…
Reference in a new issue