lovely. got a couple of partial implementations....

This commit is contained in:
Chris Kruining 2025-04-03 17:27:35 +02:00
parent 89ca4013fd
commit 89f526e9d9
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
14 changed files with 180 additions and 154 deletions

View file

@ -6,22 +6,22 @@ import devtools from 'solid-devtools/vite';
export default defineConfig({
vite: {
css: {
transformer: 'lightningcss',
lightningcss: {
targets: browserslistToTargets(browserslist('>= .25%')),
include: Features.Nesting | Features.LightDark | Features.Colors,
customAtRules: {
property: {
prelude: '<custom-ident>',
body: 'style-block',
},
},
},
},
build: {
cssMinify: 'lightningcss',
},
// css: {
// transformer: 'lightningcss',
// lightningcss: {
// targets: browserslistToTargets(browserslist('>= .25%')),
// include: Features.Nesting | Features.LightDark | Features.Colors,
// customAtRules: {
// property: {
// prelude: '<custom-ident>',
// body: 'style-block',
// },
// },
// },
// },
// build: {
// cssMinify: 'lightningcss',
// },
plugins: [
devtools({
autoname: true,