File tree Expand file tree Collapse file tree 6 files changed +27
-33
lines changed
Expand file tree Collapse file tree 6 files changed +27
-33
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default defineBuildConfig({
1010 'unconfig' ,
1111 ] ,
1212 rollup : {
13- emitCJS : false ,
13+ emitCJS : true ,
1414 inlineDependencies : true ,
1515 } ,
1616} )
Original file line number Diff line number Diff line change 44 "exports" : {
55 "." : {
66 "types" : " ./dist/index.d.ts" ,
7- "import" : " ./dist/index.mjs"
7+ "import" : " ./dist/index.mjs" ,
8+ "require" : " ./dist/index.cjs"
89 }
910 },
10- "main" : " dist/index.mjs " ,
11+ "main" : " dist/index.cjs " ,
1112 "module" : " dist/index.mjs" ,
1213 "types" : " dist/index.d.ts" ,
1314 "files" : [
Original file line number Diff line number Diff line change 5353 "@vue/runtime-core" : " ^3.4.31" ,
5454 "@vue/shared" : " ^3.4.31" ,
5555 "@vueuse/core" : " ^10.11.0" ,
56- "tailwindcss" : " ^3.4.4" ,
5756 "typescript" : " ^5.5.2" ,
5857 "unimport" : " ^3.7.2" ,
5958 "unplugin-icons" : " ^0.19.0" ,
7069 "fs-extra" : " ^11.2.0" ,
7170 "magic-string" : " ^0.30.10" ,
7271 "rollup" : " ^4.18.0" ,
72+ "tailwindcss" : " ^3.4.4" ,
7373 "web-component-analyzer" : " ^2.0.0" ,
7474 "yaml" : " ^2.4.5"
7575 }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import process from 'node:process'
22import fse from 'fs-extra'
33import type { Plugin , ResolvedConfig } from 'vite'
44import YAML from 'yaml'
5- import resolveConfig from 'tailwindcss/resolveConfig'
5+ import resolveConfig from 'tailwindcss/resolveConfig.js '
66import type { Context } from './context'
77
88/**
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export default (ctx: Context): Plugin => {
4040 plugins : [
4141 // @ts -expect-error missing types
4242 ( ( await import ( 'postcss-import' ) ) . default ) ,
43- ( ( await import ( 'tailwindcss/nesting' ) ) . default ) ,
43+ ( ( await import ( 'tailwindcss/nesting/index.js ' ) ) . default ) ,
4444 ( ( await import ( 'tailwindcss' ) ) . default ) ,
4545 // @ts -expect-error missing types
4646 ( ( await import ( '@ueberbit/postcss/stripcolor' ) ) . default ) ,
You canβt perform that action at this time.
0 commit comments