We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9174d18 commit bcbd228Copy full SHA for bcbd228
packages/taro-webpack5-runner/src/webpack/WebpackModule.ts
@@ -104,6 +104,8 @@ export class WebpackModule {
104
implementation: require('sass'),
105
sassOptions: {
106
outputStyle: 'expanded',
107
+ // https://github.com/sass/dart-sass/blob/main/CHANGELOG.md#js-api
108
+ silenceDeprecations: ['legacy-js-api'],
109
importer (url, prev, done) {
110
// 让 sass 文件里的 @import 能解析小程序原生样式文体,如 @import "a.wxss";
111
const extname = path.extname(url)
0 commit comments