astroturf icon indicating copy to clipboard operation
astroturf copied to clipboard

Better Styling through Compiling: CSS-in-JS for those that want it all.

Results 94 astroturf issues
Sort by recently updated
recently updated
newest added

[`experimentalUseImportModule`](https://webpack.js.org/plugins/mini-css-extract-plugin/#experimentaluseimportmodule) is a new option for MiniCssExtractPlugin to use `importModule` instead of a child compilation. when calling `importModule` mini-css-extract-plugin [prepends](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/26feefefd9f73549333f797b8a1a055c1ba3437c/src/loader.js#L206-L211) the request with the resource which as far as I...

Tried astroturf beta.22 both with web pack and rollup. Although it works quite good I noticed a strange empty css rules when using css tag: ``` const ColumCss = css`...

I would like to use astroturf in such way ``` const titleClass = cls` color: red; background-color: green; `; ``` similar to styled but without component

Vue has style bindings which inserting inline style. It seems to be reasonable to pre-handle styles by astroturf then inerst the style object into visual dom through style binding. But...

When I use React Dev tools and I'm trying to find my component source ![image](https://user-images.githubusercontent.com/7717033/121788929-3c4e3700-cbda-11eb-9341-ba35c5170f27.png) It always points me to the `Styled` function instead of actual declared component. ![image](https://user-images.githubusercontent.com/7717033/121788949-6869b800-cbda-11eb-94e2-57d5a33b1c3c.png) With...

Hey there, I have a repro for a gnarly little case where Astroturf breaks when the new `useAltLoader` option is enabled. It works fine when `useAltLoader` is disabled -- but...

I am currently working on redoing my personal website as a nextjs app and decided to try astroturf but I keep getting this error: ![Screenshot_20210529_180951](https://user-images.githubusercontent.com/19474909/120077173-5b60ab00-c0a9-11eb-84d7-839b0b910787.png) I don't quite know what...

According to [`why-npm-i-so-long`](https://github.com/antonk52/why-npm-i-so-long) Astroturf 1.0 took 16 MB of `node_modules`, which is huge for this project. [`npm.anvaka.com`](https://npm.anvaka.com/#/view/2d/astroturf) shows a huge network of dependencies. ![20210526115016](https://user-images.githubusercontent.com/19343/119691424-900a0380-be18-11eb-978b-89c592781811.png) I see a few ways to...

This is just a discussion. I've been seeing a lot of positive chatter over esbuild. Once they get css modules and plugin system ironed out, it would very interesting to...

Have you tried to use Astroturf with Vite? I tried to use it, but there are some problems: https://github.com/azat-io/vite-astroturf-example/blob/master/vite.config.ts Do you have some usage examples?