瀏覽代碼

Modify webpack config

customisations
alemart 8 月之前
父節點
當前提交
7b511621a5
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      webpack.config.js

+ 3
- 0
webpack.config.js 查看文件

@@ -79,6 +79,9 @@ module.exports = (env, argv) => ({
79 79
             directory: path.resolve(__dirname, dir),
80 80
             publicPath: `/${dir}/`,
81 81
         })),
82
+        headers: {
83
+            'Cache-Control': 'no-store',
84
+        },
82 85
         //host: '0.0.0.0',
83 86
         //host: 'local-ip',
84 87
     },

Loading…
取消
儲存