Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/esbuild.config.js')
-rw-r--r--config/esbuild.config.js6
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',
};