File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1- export * from './theme'
2- export * from './uno.config'
1+ export * from './theme.ts '
2+ export * from './uno.config.ts '
Original file line number Diff line number Diff line change 55 transformerDirectives ,
66 transformerVariantGroup ,
77} from 'unocss'
8- import { theme } from './theme'
8+ import { theme } from './theme.ts '
99
1010export const unoConfig = {
1111 presets : [
Original file line number Diff line number Diff line change 11import { defineConfig } from 'unocss'
2- import { unoConfig } from './theme'
2+ import { unoConfig } from './theme/index.ts '
33
44export default defineConfig ( unoConfig )
Original file line number Diff line number Diff line change 1919 " vite/client" ,
2020 " vitest/globals"
2121 ],
22+ "allowImportingTsExtensions" : true ,
2223 "allowJs" : true ,
2324 "strict" : true ,
2425 "strictNullChecks" : true ,
2526 "noImplicitAny" : false ,
27+ "noEmit" : true ,
2628 // We use tsup/vite instead of tsc to build the package, so we don't need to care about this option.
2729 // Add outDir option to avoid tsconfig error in monorepo.
2830 "outDir" : " dist" ,
Original file line number Diff line number Diff line change 11import { defineConfig } from 'unocss'
22
3- import config from './packages/client/uno.config'
3+ import config from './packages/client/uno.config.ts '
44
55export default defineConfig ( {
66 ...config ,
You can’t perform that action at this time.
0 commit comments