Skip to content

Commit c73dd7a

Browse files
committed
Configure the nodeModules loader to do what its name suggests
Fixes #1892 Closes #1893
1 parent 404751f commit c73dd7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package/rules/node_modules.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const { nodeEnv } = require('../env')
55
// Compile standard ES features for JS in node_modules with Babel.
66
module.exports = {
77
test: /\.(js|mjs)$/,
8+
include: /node_modules/,
89
exclude: /@babel(?:\/|\\{1,2})runtime/,
910
use: [
1011
{

0 commit comments

Comments
 (0)