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)?')