Skip to content

Commit

Permalink
Configure the nodeModules loader to do what its name suggests
Browse files Browse the repository at this point in the history
Fixes #1892
Closes #1893
  • Loading branch information
javan committed Jan 17, 2019
1 parent 404751f commit c73dd7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/rules/node_modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const { nodeEnv } = require('../env')
// Compile standard ES features for JS in node_modules with Babel.
module.exports = {
test: /\.(js|mjs)$/,
include: /node_modules/,
exclude: /@babel(?:\/|\\{1,2})runtime/,
use: [
{
Expand Down

0 comments on commit c73dd7a

Please sign in to comment.