From dfc4dcdcb918bf059b4393c6d1c3b55441389f43 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 2 Jul 2020 14:56:59 +0200 Subject: [PATCH] auth: lookup node packages in the parent as well This switches bak to the original lookup algo. Required since we now use lerna which moves the common deps to the root package. --- packages/auth/rollup.config.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/auth/rollup.config.js b/packages/auth/rollup.config.js index d4a11059..59acb61b 100644 --- a/packages/auth/rollup.config.js +++ b/packages/auth/rollup.config.js @@ -41,15 +41,8 @@ export default { consts({ environment: build, }), - resolve({ - customResolveOptions: { - // ignore node_modules from vendored packages - moduleDirectory: path.join(process.cwd(), 'node_modules') - } - }), - commonjs({ - include: 'node_modules/**', - }), + resolve(), + commonjs(), json(), (build !== 'local' && build !== 'test') ? terser() : false, copy({ -- GitLab