Skip to content

Commit

Permalink
fix(v2): fix url-loader not found (#3313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshul Goyal authored Aug 20, 2020
1 parent 3ea2f8c commit ef5f6fb
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 ef5f6fb

Please sign in to comment.