Skip to content

Commit

Permalink
fix: don't change default node_modules resolution (gatsbyjs#10561)
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense authored and gpetrioli committed Jan 22, 2019
1 parent fa1351d commit 179ccb3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/gatsby/src/utils/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,6 @@ module.exports = async (
// Use the program's extension list (generated via the
// 'resolvableExtensions' API hook).
extensions: [...program.extensions],
// Default to using the site's node_modules directory to look for
// modules. But also make it possible to install modules within the src
// directory if you need to install a specific version of a module for a
// part of your site.
modules: [directoryPath(path.join(`node_modules`)), `node_modules`],
alias: {
gatsby$: directoryPath(path.join(`.cache`, `gatsby-browser-entry.js`)),
// Using directories for module resolution is mandatory because
Expand Down

0 comments on commit 179ccb3

Please sign in to comment.