I believe esbuild.config.js is too generic naming. It misleads the reader as if that were esbuild config, which it is not. It also 'squats' the place for the actual esbuild config, for example if developer wanted to keep and reuse esbuild settings between different components of the project (such as: esbuild-runner, estrella, vite, esbuild-loader, etc.)
I believe esbuild-runner.config.js would be better naming, directly explaining the purpose of the file.
I believe
esbuild.config.js
is too generic naming. It misleads the reader as if that were esbuild config, which it is not. It also 'squats' the place for the actual esbuild config, for example if developer wanted to keep and reuse esbuild settings between different components of the project (such as: esbuild-runner, estrella, vite, esbuild-loader, etc.)I believe
esbuild-runner.config.js
would be better naming, directly explaining the purpose of the file.