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:
parent
572d44230c
commit
31e004781f
@ -9,9 +9,9 @@ const FRONTEND = process.env.NODE_ENV === 'production'
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
ROOT,
|
ROOT,
|
||||||
MODULES: [
|
MODULES: [
|
||||||
'node_modules',
|
|
||||||
path.join(FRONTEND, 'node_modules'),
|
path.join(FRONTEND, 'node_modules'),
|
||||||
path.join(UI, 'node_modules'),
|
path.join(UI, 'node_modules'),
|
||||||
|
'node_modules'
|
||||||
],
|
],
|
||||||
FRONTEND: path.join(FRONTEND, 'src'),
|
FRONTEND: path.join(FRONTEND, 'src'),
|
||||||
UI: process.env.NODE_ENV === 'production'
|
UI: process.env.NODE_ENV === 'production'
|
||||||
|
Loading…
Reference in New Issue
Block a user