diff --git a/src/resolvers/index.ts b/src/resolvers/index.ts index 41be77f..bf099e9 100644 --- a/src/resolvers/index.ts +++ b/src/resolvers/index.ts @@ -13,11 +13,15 @@ const createResolvers = (options: WebpackOptions): webpack.ResolveOptions => { extensions: ['.tsx', '.ts', '.js', '.jsx'], mainFiles: ['index'], modules: [ + 'node_modules', paths.src, path.resolve(paths.root), path.resolve(paths.root, 'node_modules'), ], plugins: getResolversPlugins(options), + fallback: { + path: false, + }, }; };