esbuild-plugin-import-glob
esbuild-plugin-import-glob copied to clipboard
fast-glob make "import" import from external lib
fast-glob removed relative file symbol ./, so it report this error message:

When I change fast-glob to glob, it works.
https://github.com/rails/jsbundling-rails/compare/main...xiaohui-zhangxh:main
Same problem here. I use the glob plugin in conjunction with "esbuild-plugin-properties" and I get the same error message (see screenshot) when importing '.properties' files via globbing:

Suggestion
If I modify the code to explicitly add the current directory ./ as starting point, then everything works correctly:
.map((module, index) => `import * as module${index} from './${module}'`)