From 31e004781fd728f27baec73e7c51d9d9c3844ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Wed, 8 Feb 2017 22:28:58 +0000 Subject: [PATCH] =?UTF-8?q?give=20higher=20priority=20for=20modules=20in?= =?UTF-8?q?=20frontend=20=F0=9F=92=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this fixes a bug where it would not be possible to extend styled-components from UI because they would require a different instance of styled-components --- frontend/webpack/paths.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/webpack/paths.js b/frontend/webpack/paths.js index 4a173968..58111f68 100644 --- a/frontend/webpack/paths.js +++ b/frontend/webpack/paths.js @@ -9,9 +9,9 @@ const FRONTEND = process.env.NODE_ENV === 'production' module.exports = { ROOT, MODULES: [ - 'node_modules', path.join(FRONTEND, 'node_modules'), path.join(UI, 'node_modules'), + 'node_modules' ], FRONTEND: path.join(FRONTEND, 'src'), UI: process.env.NODE_ENV === 'production'