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/webpack.vendor.config.js')
-rw-r--r--config/webpack.vendor.config.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/webpack.vendor.config.js b/config/webpack.vendor.config.js
index 7e5365987ee..6d337c1d82b 100644
--- a/config/webpack.vendor.config.js
+++ b/config/webpack.vendor.config.js
@@ -13,6 +13,9 @@ module.exports = {
mode: 'development',
resolve: {
extensions: ['.js'],
+ alias: {
+ jquery$: 'jquery/dist/jquery.slim.js',
+ },
},
// ensure output is not generated when errors are encountered
@@ -22,7 +25,7 @@ module.exports = {
entry: {
vendor: [
- 'jquery',
+ 'jquery/dist/jquery.slim.js',
'pdfjs-dist/build/pdf',
'pdfjs-dist/build/pdf.worker.min',
'sql.js',