1
0
Fork 0
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:
Arunoda Susiripala 2017-02-15 22:01:21 +05:30 committed by Tim Neutkens
parent fa590bfd7a
commit b2360ec567

View file

@ -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) {