Skip to content

Commit 75004e1

Browse files
committed
wip(x-ios): 蒸汽模式启用新的css插件
1 parent bef89a9 commit 75004e1

File tree

1 file changed

+2
-0
lines changed
  • packages/uni-app-uts/src/plugins/ios

1 file changed

+2
-0
lines changed

packages/uni-app-uts/src/plugins/ios/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ import { uniAppJsEngineMainPlugin } from '../js/mainUTS'
2525
import { uniAppManifestPlugin } from '../js/manifestJson'
2626
import { uniAppPagesPlugin } from '../js/pagesJson'
2727
import { replaceExtApiPagePaths } from '../js/extApiPages'
28+
import { uniAppCssPrePlugin } from '../dom2/css'
2829

2930
export function init() {
3031
const isDom2 = process.env.UNI_APP_X_DOM2 === 'true'
3132
return [
33+
...(isDom2 ? [uniAppCssPrePlugin()] : []),
3234
...(isNormalCompileTarget()
3335
? [uniWorkersPlugin(), uniDecryptUniModulesPlugin()]
3436
: []),

0 commit comments

Comments
 (0)