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 5a17fe8 commit 0e7624eCopy full SHA for 0e7624e
packages/taro-webpack5-runner/src/plugins/MiniPlugin.ts
@@ -1505,7 +1505,7 @@ export default class TaroMiniPlugin {
1505
if (pageStyle in assets) {
1506
const source = new ConcatSource('')
1507
const originSource = assets[pageStyle]
1508
- source.add(`@import ${JSON.stringify(urlToRequest(path.posix.relative(path.dirname(pageStyle), 'app.wxss')))};\n`)
+ source.add(`@import ${JSON.stringify(urlToRequest(path.posix.relative(path.dirname(pageStyle), 'app' + styleExt)))};\n`)
1509
source.add(originSource)
1510
assets[pageStyle] = source
1511
}
0 commit comments