From aea0ede0847bdf276de7049413c468a058f153cf Mon Sep 17 00:00:00 2001 From: anshul Date: Thu, 20 Aug 2020 17:08:15 +0530 Subject: [PATCH] fix url-loader not found --- packages/docusaurus/src/webpack/base.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docusaurus/src/webpack/base.ts b/packages/docusaurus/src/webpack/base.ts index 7ce0b7720a3d..0e033852d7db 100644 --- a/packages/docusaurus/src/webpack/base.ts +++ b/packages/docusaurus/src/webpack/base.ts @@ -92,6 +92,7 @@ export function createBaseConfig( }, resolveLoader: { plugins: [PnpWebpackPlugin.moduleLoader(module)], + modules: ['node_modules', path.join(siteDir, 'node_modules')], }, optimization: { removeAvailableModules: false,