How to use Emotion Theming

How is it going? Is it possible Customize Webpack configuration now?

1 Like

Hey @vadzzim, no this is yet awaiting development. What are your needs?

I use Emotion Theming https://emotion.sh/docs/theming
And it works perfect if my component inside frontity

But it doesn’t work if I use component from my local module.
Here is my example

And I want to try a few solutions from this https://github.com/styled-components/styled-components/issues/2379
something like

{
    resolve: {
      alias: {
        'my-external-components': path.resolve('../path-to-my-external/components/')
      },
    }
  }

Or any other solution?

Sorry, just figured it out. Created ThemeProvider in my local module and it works.

2 Likes