diff options
author | shampton <shampton@gitlab.com> | 2019-08-23 12:57:21 -0700 |
---|---|---|
committer | shampton <shampton@gitlab.com> | 2019-08-23 12:57:21 -0700 |
commit | c96adfcd6c9d303f3f7f86e441e57cb3ce8a286e (patch) | |
tree | 4251679d2f0abaf244984d55a1ad45e2cbc934b4 /config/webpack.config.js | |
parent | 8f797950e8e5f92da800d67444a1f67bb6078f21 (diff) | |
download | gitlab-ce-c96adfcd6c9d303f3f7f86e441e57cb3ce8a286e.tar.gz |
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.js | 7 |
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 |