From 798176a489f94887029b4e2361188e630bf444e3 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Sun, 17 Mar 2024 15:36:11 +0100 Subject: [PATCH] chore: test webui metro cache --- webui/metro.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webui/metro.config.js b/webui/metro.config.js index 1c947c1..f400074 100644 --- a/webui/metro.config.js +++ b/webui/metro.config.js @@ -9,6 +9,7 @@ const config = withNativeWind(getDefaultConfig(__dirname), { // Allow Metro to access the `~plugin/**` files config.watchFolders = [__dirname, path.resolve(__dirname, '..')]; + // Move the Metro cache to `node_modules/.cache` config.cacheStores = [ new FileStore({ root: path.join(__dirname, 'node_modules', '.cache', 'metro') }),