Skip to content

Commit

Permalink
fix copy plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Nov 8, 2024
1 parent 6ff402d commit b9687d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function createStaticDirectoriesCopyPlugin({
toType: 'dir',
info: {
// Prevents Webpack from minimizing static files (js/css)
// see https://github.com/facebook/docusaurus/issues/10460
// see https://github.com/facebook/docusaurus/pull/10658
// see https://github.com/webpack-contrib/copy-webpack-plugin#skip-running-javascript-files-through-a-minimizer
minimized: true,
},
Expand Down
2 changes: 1 addition & 1 deletion website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
"skipLibCheck": false,
"types": ["jest"]
},
"exclude": ["src/sw.js"]
"exclude": ["build", ".docusaurus", "src/sw.js", "_dogfooding/_asset-tests"]
}

0 comments on commit b9687d6

Please sign in to comment.