1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-10 21:30:06 +02:00

give higher priority for modules in frontend 💅

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
This commit is contained in:
Sérgio Ramos 2017-02-08 22:28:58 +00:00 committed by Sérgio Ramos
parent 572d44230c
commit 31e004781f

View File

@ -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'