chore(v2): update dependency (#1316)

This commit is contained in:
Endilie Yacop Sucipto 2019-03-28 23:12:28 +08:00 committed by GitHub
parent 087fef7806
commit 1bd2640749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 185 additions and 74 deletions

View file

@ -49,9 +49,7 @@ module.exports = async function build(siteDir) {
const clientConfigObj = createClientConfig(props);
// Remove/clean build folders before building bundles.
clientConfigObj
.plugin('clean')
.use(CleanWebpackPlugin, [outDir, {verbose: false, allowExternal: true}]);
clientConfigObj.plugin('clean').use(CleanWebpackPlugin, [{verbose: false}]);
let serverConfig = createServerConfig(props).toConfig();
let clientConfig = clientConfigObj.toConfig();