From 793e89dbb9022117d76db272349d80cc2741d2c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Varga?= Date: Sun, 8 Dec 2024 21:34:02 +0100 Subject: [PATCH] x --- generate-firebase-json.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate-firebase-json.js b/generate-firebase-json.js index 16e0018..45a5254 100644 --- a/generate-firebase-json.js +++ b/generate-firebase-json.js @@ -39,8 +39,8 @@ const generateFirebaseJson = ( compilation, ) => { const sourceGlob = htmlPluginData.outputName - .replace('/\.html/', '') - .replace('index', '@(/|index)') + .replace(/\.html/, '') + .replace(/index/, '@(/|index)') // .replace(/404\.html/, '**/*') // .replace(/index\.html/, '\/?(index.html)?') // .replace(/\.html/, '(\\.html)?')