Skip to content

Commit

Permalink
chore(compiler-sfc): suppress deprecation warning of sass legacy api
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX committed Sep 20, 2024
1 parent 6fcb801 commit aad407d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/compiler-sfc/src/style/preprocessors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const scss: StylePreprocessor = (source, map, options, load = require) => {
file: options.filename,
outFile: options.filename,
sourceMap: !!map,
silenceDeprecations: ['legacy-js-api'],
}

try {
Expand Down

0 comments on commit aad407d

Please sign in to comment.