diff --git a/lib/webpack/createBaseConfig.js b/lib/webpack/createBaseConfig.js index efd9712c19..b791342822 100644 --- a/lib/webpack/createBaseConfig.js +++ b/lib/webpack/createBaseConfig.js @@ -46,6 +46,7 @@ module.exports = function createBaseConfig ({ .modules // prioritize our own .add(path.resolve(__dirname, '../../node_modules')) + .add(path.resolve(__dirname, '../../../')) .add('node_modules') config.resolveLoader @@ -53,6 +54,7 @@ module.exports = function createBaseConfig ({ .modules // prioritize our own .add(path.resolve(__dirname, '../../node_modules')) + .add(path.resolve(__dirname, '../../../')) .add('node_modules') config.module