|
@@ -11,7 +11,7 @@ import {
|
|
|
import { presetApplet, presetRemRpx, transformerAttributify } from 'unocss-applet'
|
|
import { presetApplet, presetRemRpx, transformerAttributify } from 'unocss-applet'
|
|
|
|
|
|
|
|
// @see https://unocss.dev/presets/legacy-compat
|
|
// @see https://unocss.dev/presets/legacy-compat
|
|
|
-import presetLegacyCompat from '@unocss/preset-legacy-compat'
|
|
|
|
|
|
|
+import { presetLegacyCompat } from '@unocss/preset-legacy-compat'
|
|
|
|
|
|
|
|
const isH5 = process.env?.UNI_PLATFORM === 'h5'
|
|
const isH5 = process.env?.UNI_PLATFORM === 'h5'
|
|
|
const isMp = process.env?.UNI_PLATFORM?.startsWith('mp') ?? false
|
|
const isMp = process.env?.UNI_PLATFORM?.startsWith('mp') ?? false
|