|
|
@@ -50,6 +50,9 @@ export default defineConfig<'webpack5'>(async (merge, { command, mode }) => {
|
|
|
enable: false // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
|
|
|
},
|
|
|
mini: {
|
|
|
+ miniCssExtractPluginOption: {
|
|
|
+ ignoreOrder: true,
|
|
|
+ },
|
|
|
postcss: {
|
|
|
pxtransform: {
|
|
|
enable: true,
|
|
|
@@ -76,7 +79,7 @@ export default defineConfig<'webpack5'>(async (merge, { command, mode }) => {
|
|
|
cssSelectorReplacement:{
|
|
|
universal: ['view','text','button', 'input']
|
|
|
},
|
|
|
- cssChildCombinatorReplaceValue: ['view', 'text', 'button', 'input']
|
|
|
+ cssChildCombinatorReplaceValue: ['view', 'text', 'button', 'input']
|
|
|
}]
|
|
|
}
|
|
|
}
|