mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-09 14:22:27 +02:00
chore(v2): update dependency (#1316)
This commit is contained in:
parent
087fef7806
commit
1bd2640749
5 changed files with 185 additions and 74 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue