diff --git a/packages/docusaurus/src/webpack/plugins/StaticDirectoriesCopyPlugin.ts b/packages/docusaurus/src/webpack/plugins/StaticDirectoriesCopyPlugin.ts index 2a64795028fd..31f87c0ed3ea 100644 --- a/packages/docusaurus/src/webpack/plugins/StaticDirectoriesCopyPlugin.ts +++ b/packages/docusaurus/src/webpack/plugins/StaticDirectoriesCopyPlugin.ts @@ -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, }, diff --git a/website/tsconfig.json b/website/tsconfig.json index ca5671a8a65c..caea2e3443e5 100644 --- a/website/tsconfig.json +++ b/website/tsconfig.json @@ -36,5 +36,5 @@ "skipLibCheck": false, "types": ["jest"] }, - "exclude": ["src/sw.js"] + "exclude": ["build", ".docusaurus", "src/sw.js", "_dogfooding/_asset-tests"] }