Anton Evzhakov
Anton Evzhakov
You can use filters in `ts-criteria` expression for converting values to a sortable representation: ``
I'm trying to figure out, what is happening inside webpack, css-loader and hmr plugins in order to find a way to prevent this warnings. It seems like a bug that...
Webpack doesn't pass the second argument (which is a module id) to __webpack_require_module__ for runtime modules https://github.com/webpack/webpack/blob/main/lib/Compilation.js#L5044, so that it is a bug in `react-refresh-webpack-plugin` which explicitly required moduleId. I...
If you don't use Babel, Linaria doesn't know how to parse ts-files. Probably, we can detect tsconfig.json and use it for parsing, but it will take some time for investigating...
Hi @soldonii! Do you use yarn pnp?
Idk how it can be implemented without runtime and without multiplying the size of generated styles. I mean, we can probably do something like this: ```js const cssWithMq = facepaint([...
Probably, we can generate something like this: ``` @media(min-width: 420px) { --some-generated-variable-for-color-in-myClassName: 'green'; } @media(min-width: 920px) { --some-generated-variable-for-color-in-myClassName: 'blue'; } @media(min-width: 1120px) { --some-generated-variable-for-color-in-myClassName: 'darkorchid'; } . myClassName { color:...
Yep, you are right. It will work only for constants.
@devinrhode2 I don't sure that it's what you are looking for but [that plugin](https://github.com/anber/linaria-interop) allows to use Linaria and styled/emotion at the same time.
> Not true for SSR and SSG. That's a good point. But do they really care about the size of styles in that case?