We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bef89a9 commit 75004e1Copy full SHA for 75004e1
packages/uni-app-uts/src/plugins/ios/index.ts
@@ -25,10 +25,12 @@ import { uniAppJsEngineMainPlugin } from '../js/mainUTS'
25
import { uniAppManifestPlugin } from '../js/manifestJson'
26
import { uniAppPagesPlugin } from '../js/pagesJson'
27
import { replaceExtApiPagePaths } from '../js/extApiPages'
28
+import { uniAppCssPrePlugin } from '../dom2/css'
29
30
export function init() {
31
const isDom2 = process.env.UNI_APP_X_DOM2 === 'true'
32
return [
33
+ ...(isDom2 ? [uniAppCssPrePlugin()] : []),
34
...(isNormalCompileTarget()
35
? [uniWorkersPlugin(), uniDecryptUniModulesPlugin()]
36
: []),
0 commit comments