debian-mirror-gitlab/debian/patches/add-system-lib-path-for-webpack.patch
2017-09-10 18:21:32 +05:30

10 lines
346 B
Diff

--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -245,6 +245,7 @@
resolve: {
extensions: ['.js'],
+ modules: ['/usr/share/gitlab/node_modules', '/usr/lib/nodejs'],
alias: {
'~': path.join(ROOT_PATH, 'app/assets/javascripts'),
'emojis': path.join(ROOT_PATH, 'fixtures/emojis'),