Browse Source

🔧 chore(config): disable webpack persistent cache

- set cache.enable to false in Taro config to disable Webpack persistent cache
yourname 4 months ago
parent
commit
d9578957d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mini/config/index.ts

+ 1 - 1
mini/config/index.ts

@@ -47,7 +47,7 @@ export default defineConfig<'webpack5'>(async (merge, { command, mode }) => {
     framework: 'react',
     compiler: 'webpack5',
     cache: {
-      enable: true // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
+      enable: false // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
     },
     mini: {
       postcss: {