21 lines
532 B
Diff
21 lines
532 B
Diff
--- a/config/webpack.config.js
|
|
+++ b/config/webpack.config.js
|
|
@@ -234,6 +234,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'),
|
|
@@ -246,6 +247,10 @@
|
|
}
|
|
},
|
|
|
|
+ resolveLoader: {
|
|
+ modules: ['/usr/share/gitlab/node_modules', '/usr/lib/nodejs'],
|
|
+ },
|
|
+
|
|
// sqljs requires fs
|
|
node: {
|
|
fs: 'empty',
|