Skip to content

Commit

Permalink
fix url-loader not found
Browse files Browse the repository at this point in the history
  • Loading branch information
anshul committed Aug 20, 2020
1 parent 12e9ff6 commit aea0ede
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/docusaurus/src/webpack/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export function createBaseConfig(
},
resolveLoader: {
plugins: [PnpWebpackPlugin.moduleLoader(module)],
modules: ['node_modules', path.join(siteDir, 'node_modules')],
},
optimization: {
removeAvailableModules: false,
Expand Down

0 comments on commit aea0ede

Please sign in to comment.