Skip to content

Commit

Permalink
fix: don't change default node_modules resolution (#10561)
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense authored and pieh committed Jan 2, 2019
1 parent e917544 commit 201ff4b
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 201ff4b

Please sign in to comment.