lovely. got a couple of partial implementations....
This commit is contained in:
parent
89ca4013fd
commit
89f526e9d9
14 changed files with 180 additions and 154 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue