From e75389af608170c5378cf01791e58ce038cac0c3 Mon Sep 17 00:00:00 2001 From: Guy Ross Date: Sat, 2 Dec 2023 02:27:31 -0500 Subject: [PATCH] Fixes #164 (#165) * Fixes #164 Resolved issue preventing index files from being detected/ processed by the file change bundler. --- pkg/jsparse/document.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/jsparse/document.go b/pkg/jsparse/document.go index 0d270ae..646ba12 100644 --- a/pkg/jsparse/document.go +++ b/pkg/jsparse/document.go @@ -338,7 +338,7 @@ func (p *DefaultJSDocument) formatImportLine(line string) *ImportDependency { // we can validate this by checking if the import path is a dir if isIndexPath(finalPath) { finalPath += "/index" - cleanWebDirPaths = append(cleanWebDirPaths, "/index") + cleanWebDirPaths = append(cleanWebDirPaths, "index") } extension := pageExtension(verifyPath(finalPath))