浏览代码

🔧 chore(config): disable webpack persistent cache

- set cache.enable to false in Taro config to disable Webpack persistent cache
yourname 4 月之前
父节点
当前提交
d9578957d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: {