linaria
linaria copied to clipboard
Zero-runtime CSS in JS library
## Motivation Begin addressing https://github.com/callstack/linaria/issues/930 (@linaria/stylelint does not work with stylelint ^14.0.0) by creating the postcss-linaria package and accompanying stylelint-config-standard-linaria package. ## Summary For stylelint 13, @linaria/stylelint uses a [preprocessor](https://github.com/callstack/linaria/blob/master/packages/stylelint/src/index.ts#L2)...
## Motivation Fixes https://github.com/callstack/linaria/issues/1047 ## Summary This incorrectly failed with an "unsupported error" in cases where the identifier was already hoisted. A couple of lines down from here we return...
## Environment Linaria version: v4+ Bundler (+ version): Webpack 5+ Node.js version: 16+ ## Description Using a function declaration in a string template results in the error "This expression cannot...
## Environment - Linaria version: 4.1.2 - Bundler (+ version): Vite 3.1.0 - Node.js version: 16.14.2 - OS: Linux ## Description I'm using a combination of Vite and Vue, and...
## Environment - Linaria version: @linaria/esbuild: 4.1.3, @linaria/core: 4.1.2 - Bundler (+ version): esbuild 0.15.7 - Node.js version: 18.9.0 - OS: macOS 12.5.1 ## Description Long story short, I moved...
## Environment - Linaria version: 4.2.0 - Bundler (+ version): [email protected] - Node.js version: 18.8.0 - OS: Windows (local) and Linux (CI) ## Description Linaria + rollup can lead to...
Hi @cojoclaudiu. I don't know. Maybe. We have [an example for Vite](https://github.com/callstack/linaria/blob/master/examples/vite/vite.config.js) (and I use Vite in my projects), and everything works well. Let's see how @iMoses's approach will affect...
## Motivation I think it would be nice to notify users that they have to "teach" stylelint to work with css-in-js syntax.
## Environment - Linaria version: 4.1.2 - Bundler (+ version): Webpack 5.74 - Node.js version: 16.4.2 - OS: macOS ## Description Webpack crash with ReactRefreshWebpackPlugin and Linaria loader ``` Module...