Skip to content

Commit f3251b7

Browse files
Mister-Hopemeteorlxy
andauthoredJul 25, 2024··
feat(bundler-webpack): add api field in sass-loader option type (#1588)
Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
1 parent ddcb9db commit f3251b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/bundler-webpack/src/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export interface StylusLoaderOptions extends LoaderOptions {
123123
* @see https://github.com/webpack-contrib/sass-loader#options
124124
*/
125125
export interface SassLoaderOptions extends LoaderOptions {
126+
api?: 'legacy' | 'modern' | 'modern-compiler'
126127
implementation?: Record<string, any> | string
127128
sassOptions?: StylePreprocessorOptions
128129
}

0 commit comments

Comments
 (0)
Please sign in to comment.