9347c8bdd0
* Update references to `.next` * Remove console logs and extraneous semi colons * Remove lint errors * Update references to .next and update docs * Update options from nested to flat with `distDir` * Add integration tests, and update `.gitignore` * Rename integration folder to dist-dir to match standards
8 lines
199 B
JavaScript
8 lines
199 B
JavaScript
import { resolve } from 'path'
|
|
import del from 'del'
|
|
import getConfig from '../config'
|
|
|
|
export default function clean (dir) {
|
|
const dist = getConfig(dir).distDir
|
|
return del(resolve(dir, dist))
|
|
}
|