Skip to content

Commit

Permalink
feat(bundler-webpack): add api field in sass-loader option type (#1588)
Browse files Browse the repository at this point in the history
Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
  • Loading branch information
Mister-Hope and meteorlxy authored Jul 25, 2024
1 parent ddcb9db commit f3251b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/bundler-webpack/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export interface StylusLoaderOptions extends LoaderOptions {
* @see https://github.com/webpack-contrib/sass-loader#options
*/
export interface SassLoaderOptions extends LoaderOptions {
api?: 'legacy' | 'modern' | 'modern-compiler'
implementation?: Record<string, any> | string
sassOptions?: StylePreprocessorOptions
}
Expand Down

0 comments on commit f3251b7

Please sign in to comment.