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.config.js')
-rw-r--r--config/webpack.config.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 39add7def22..94aa190b77a 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -121,6 +121,7 @@ const alias = {
images: path.join(ROOT_PATH, 'app/assets/images'),
vendor: path.join(ROOT_PATH, 'vendor/assets/javascripts'),
vue$: 'vue/dist/vue.esm.js',
+ jquery$: 'jquery/dist/jquery.slim.js',
spec: path.join(ROOT_PATH, 'spec/javascripts'),
jest: path.join(ROOT_PATH, 'spec/frontend'),
shared_queries: path.join(ROOT_PATH, 'app/graphql/queries'),
@@ -306,6 +307,14 @@ module.exports = {
chunks: 'initial',
minChunks: autoEntriesCount * 0.9,
}),
+ tiptap: {
+ priority: 17,
+ name: 'tiptap',
+ chunks: 'all',
+ test: /[\\/]node_modules[\\/](tiptap|prosemirror)-?\w*[\\/]/,
+ minChunks: 2,
+ reuseExistingChunk: true,
+ },
graphql: {
priority: 16,
name: 'graphql',