linaria
linaria copied to clipboard
Zero-runtime CSS in JS library
## Environment - Linaria version: 4.2.0 - Bundler (+ version): 5.74.0 - Node.js version: 18.8.0 - OS: Win11 ## Description ``` webpack 5.74.0 compiled with 1 error in 1118 ms...
Fixes #904 (and possibly #1043) Solution is based on this documentation: https://nodejs.org/api/packages.html#approach-1-use-an-es-module-wrapper It properly configures the package entry point for both CommonJS and ESM, which is currently not the case...
## Environment Windows 10, Webpack 5, node 14.18.3, ``` "@linaria/babel-preset": "^4.1.2", "@linaria/core": "^4.1.1", "@linaria/react": "^4.1.2", "webpack": "^5.74.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^4.10.0", "webpack-closure-compiler": "^2.1.6", "webpack-dev-server": "^4.10.0" "@babel/core": "^7.18.10", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/polyfill":...
## Environment ```sh npm ls ├── @babel/[email protected] ├── @linaria/[email protected] ├── @linaria/[email protected] ├── @linaria/[email protected] ├── [email protected] ├── [email protected] └── [email protected] ``` ```sh node -v v16.13.1 ``` On macOS Monterey ## Description...
## Describe the enhancement It would be great to have the ability to format the css variable names via the `linaria.config.js` file. I prefer my css variable names to be...
## Motivation - Please update the following actions to use Node.js 20:actions/checkout@v2,actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3. - For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
## Environment - Linaria version: 5.0.3 - Bundler (+ version): Webpack 5, webpack5-loader 5.0.4 - Node.js version: 18.17.1 - OS: Win 10 ## Description After upgrade linaria version from v4...
## Environment My configs `package.json` ```json "dependencies": { "@linaria/babel-preset": "^5.0.3", "@linaria/core": "^5.0.2", "@linaria/react": "^5.0.3", "firebase": "^10.5.2", "preact": "^10.16.0", "preact-router": "^4.1.2" }, "devDependencies": { "@babel/preset-react": "^7.22.15", "@babel/preset-typescript": "^7.23.2", "@linaria/vite": "^5.0.3", "@preact/preset-vite":...
**Do you want to request a *feature* or report a *bug*?** feature **What is the expected behavior?** To have the same modifiers syntax as in [`astroturf`](https://github.com/4Catalyzer/astroturf) ```js const Button =...
## Environment "storybook": "7.5.1", "@storybook/react-webpack5": "7.5.1", "@linaria/babel-preset": "5.0.3", "@linaria/core": "5.0.2", "@linaria/react": "5.0.3", "@linaria/rollup": "5.0.3", "@linaria/webpack-loader": "5.0.3", - Linaria version: 5.0.2 - Node.js version: 20.2.0 - OS: ventura 13.5 ## Description...