]> source.dussan.org Git - gitea.git/commit
Add back esbuild-loader for .js files (#31585)
authorsilverwind <me@silverwind.io>
Tue, 9 Jul 2024 09:28:43 +0000 (11:28 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2024 09:28:43 +0000 (09:28 +0000)
commit13015bba5a3a2bea1ccc96e9282995bedacc5694
tree4e5b64f2067fca4622fd16af5a195e3ff214b756
parent4696bcb3f74fd7bf934610cbadff39c0a3649975
Add back esbuild-loader for .js files (#31585)

The build currently seems to work fine without this, but in theory it
should fail because Fomantic is JavaScript. I feel more comfortable
having this loader declared.

Note: I did try using the [combined loader
config](https://github.com/privatenumber/esbuild-loader#-quick-setup)
but when I did that, vue files could not load, so I think this is the
best option.
webpack.config.js