Skip to content

Commit

Permalink
fix: enhance application configuration with CSS options type support
Browse files Browse the repository at this point in the history
  • Loading branch information
chengazhen committed Dec 18, 2024
1 parent b9487c2 commit 378307a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/vite-config/src/config/application.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { UserConfig } from 'vite';
import type { CSSOptions, UserConfig } from 'vite';

import type { DefineApplicationOptions } from '../typing';

Expand Down Expand Up @@ -100,7 +100,7 @@ function defineApplicationConfig(userConfigPromise?: DefineApplicationOptions) {
});
}

function createCssOptions(injectGlobalScss = true) {
function createCssOptions(injectGlobalScss = true): CSSOptions {
const root = findMonorepoRoot();
return {
preprocessorOptions: injectGlobalScss
Expand Down

0 comments on commit 378307a

Please sign in to comment.