mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 10:17:55 +02:00
fix(core): explicitly define CopyWebpackPlugin toType: 'dir' (#8481)
closes undefined
This commit is contained in:
parent
f3507e0505
commit
70bfaae2b3
1 changed files with 5 additions and 1 deletions
|
@ -199,7 +199,11 @@ async function buildLocale({
|
|||
serverConfig = merge(serverConfig, {
|
||||
plugins: [
|
||||
new CopyWebpackPlugin({
|
||||
patterns: staticDirectories.map((dir) => ({from: dir, to: outDir})),
|
||||
patterns: staticDirectories.map((dir) => ({
|
||||
from: dir,
|
||||
to: outDir,
|
||||
toType: 'dir',
|
||||
})),
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue