From 288cb501ab2f40536addf1365d1abb7886179c6e Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 15 Nov 2019 11:09:15 +0100 Subject: [PATCH] REMOVE the includes filter This should drastically improve monorepo support --- lib/core/src/server/common/babel-loader.js | 3 +-- lib/core/src/server/config/utils.js | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/core/src/server/common/babel-loader.js b/lib/core/src/server/common/babel-loader.js index 3b762f613f0e..7f21c942414b 100644 --- a/lib/core/src/server/common/babel-loader.js +++ b/lib/core/src/server/common/babel-loader.js @@ -1,4 +1,4 @@ -import { includePaths, excludePaths } from '../config/utils'; +import { excludePaths } from '../config/utils'; export default options => ({ test: /\.(mjs|jsx?)$/, @@ -8,6 +8,5 @@ export default options => ({ options, }, ], - include: includePaths, exclude: excludePaths, }); diff --git a/lib/core/src/server/config/utils.js b/lib/core/src/server/config/utils.js index 205dbee1bba8..8d111061c9f0 100644 --- a/lib/core/src/server/config/utils.js +++ b/lib/core/src/server/config/utils.js @@ -1,7 +1,6 @@ import path from 'path'; import { getEnvironment } from 'lazy-universal-dotenv'; -export const includePaths = [path.resolve('./')]; export const nodeModulesPaths = path.resolve('./node_modules'); export const excludePaths = [/node_modules/];