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:
authorshampton <shampton@gitlab.com>2019-08-23 22:57:21 +0300
committershampton <shampton@gitlab.com>2019-08-23 22:57:21 +0300
commitc96adfcd6c9d303f3f7f86e441e57cb3ce8a286e (patch)
tree4251679d2f0abaf244984d55a1ad45e2cbc934b4 /config/webpack.config.js
parent8f797950e8e5f92da800d67444a1f67bb6078f21 (diff)
Move visual review toolbar to NPM
Remove the visual review toolbar code in favor of using the NPM package.
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 442b4b4c21e..969a84e85dd 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -298,6 +298,13 @@ module.exports = {
from: path.join(ROOT_PATH, 'node_modules/pdfjs-dist/cmaps/'),
to: path.join(ROOT_PATH, 'public/assets/webpack/cmaps/'),
},
+ {
+ from: path.join(
+ ROOT_PATH,
+ 'node_modules/@gitlab/visual-review-tools/dist/visual_review_toolbar.js',
+ ),
+ to: path.join(ROOT_PATH, 'public/assets/webpack'),
+ },
]),
// compression can require a lot of compute time and is disabled in CI