File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 6464 "@biomejs/biome" : " 1.4.1" ,
6565 "@faker-js/faker" : " ^8.0.0" ,
6666 "@ianvs/prettier-plugin-sort-imports" : " ^4.0.2" ,
67- "@linaria/rollup" : " ^5.0.3" ,
68- "@linaria/vite" : " ^5.0.3" ,
67+ "@linaria/core" : " ^6.0.0" ,
6968 "@microsoft/api-extractor" : " ^7.23.0" ,
7069 "@rollup/plugin-babel" : " ^6.0.3" ,
7170 "@rollup/plugin-node-resolve" : " ^15.1.0" ,
8079 "@typescript-eslint/parser" : " ^6.1.0" ,
8180 "@vitejs/plugin-react" : " ^4.0.2" ,
8281 "@vitest/coverage-v8" : " ^1.0.0" ,
82+ "@wyw-in-js/rollup" : " ^0.2.2" ,
83+ "@wyw-in-js/vite" : " ^0.2.2" ,
8384 "babel-plugin-optimize-clsx" : " ^2.6.2" ,
8485 "eslint" : " ^8.43.0" ,
8586 "eslint-config-prettier" : " ^9.0.0" ,
Original file line number Diff line number Diff line change 11import { isAbsolute } from 'node:path' ;
2- import linaria from '@linaria /rollup' ;
2+ import wyw from '@wyw-in-js /rollup' ;
33import postcss from 'rollup-plugin-postcss' ;
44import postcssNested from 'postcss-nested' ;
55import { babel } from '@rollup/plugin-babel' ;
@@ -26,7 +26,7 @@ export default {
2626 ] ,
2727 external : ( id ) => ! id . startsWith ( '.' ) && ! id . startsWith ( '@linaria:' ) && ! isAbsolute ( id ) ,
2828 plugins : [
29- linaria ( {
29+ wyw ( {
3030 preprocessor : 'none' ,
3131 classNameSlug ( hash ) {
3232 // We add the package version as suffix to avoid style conflicts
Original file line number Diff line number Diff line change 1- import linaria from '@linaria/vite' ;
21import react from '@vitejs/plugin-react' ;
2+ import wyw from '@wyw-in-js/vite' ;
33import postcssNested from 'postcss-nested' ;
44import { defineConfig } from 'vite' ;
55
@@ -25,7 +25,7 @@ export default defineConfig({
2525 plugins : [ [ 'optimize-clsx' , { functionNames : [ 'getCellClassname' ] } ] ]
2626 }
2727 } ) ,
28- ! isTest && linaria ( { preprocessor : 'none' } )
28+ ! isTest && wyw ( { preprocessor : 'none' } )
2929 ] ,
3030 css : {
3131 postcss : {
You can’t perform that action at this time.
0 commit comments