Skip to content

Commit

Permalink
Fixes #164 (#165)
Browse files Browse the repository at this point in the history
* Fixes #164

Resolved issue preventing index files from being detected/ processed by the file change bundler.
  • Loading branch information
GuyARoss authored Dec 2, 2023
1 parent a4a045b commit e75389a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/jsparse/document.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit e75389a

Please sign in to comment.