diff options
Diffstat (limited to 'config/esbuild.config.js')
-rw-r--r-- | config/esbuild.config.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/esbuild.config.js b/config/esbuild.config.js index e876436e864..b17548d8300 100644 --- a/config/esbuild.config.js +++ b/config/esbuild.config.js @@ -56,4 +56,10 @@ module.exports = { 'class-field': false, }, implementation: esbuild, + /** + * It's necessary to tell esbuild to use the 'js' loader + * because esbuild cannot auto-detect which loader to use + * based on the .vue extension. + */ + loader: 'js', }; |