Skip to content

Commit

Permalink
Merge pull request #11765 from danbentley/11764-fix-frontend-build-wi…
Browse files Browse the repository at this point in the history
…th-poetry-or-uv

11764 fix frontend build with poetry or uv
  • Loading branch information
chrabyrd authored Feb 7, 2025
2 parents 6e2a9d8 + b593cbb commit 579c18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack/webpack-utils/build-filepath-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function buildFilepathLookup(path, staticUrlPrefix) {

return getFileList(path).reduce((lookup, file) => {
// Ignore dotfiles
if (file.match(new RegExp(Path.sep + '\\.')) || file.match(/^\./)) {
if (Path.basename(file).startsWith('.')) {
return lookup;
}
const extension = file.match(/[^.]+$/).toString();
Expand Down

0 comments on commit 579c18f

Please sign in to comment.