2017-09-04 10:08:05 +05:30
|
|
|
--- a/config/webpack.config.js
|
|
|
|
+++ b/config/webpack.config.js
|
2018-11-08 20:39:57 +05:30
|
|
|
@@ -85,6 +85,7 @@
|
2017-09-04 10:08:05 +05:30
|
|
|
|
|
|
|
resolve: {
|
|
|
|
extensions: ['.js'],
|
|
|
|
+ modules: ['/usr/share/gitlab/node_modules', '/usr/lib/nodejs'],
|
|
|
|
alias: {
|
2018-05-09 12:38:34 +05:30
|
|
|
'~': path.join(ROOT_PATH, 'app/assets/javascripts'),
|
|
|
|
emojis: path.join(ROOT_PATH, 'fixtures/emojis'),
|
2018-11-12 17:59:31 +05:30
|
|
|
@@ -97,6 +98,10 @@
|
|
|
|
},
|
|
|
|
},
|
2018-03-27 20:24:05 +05:30
|
|
|
|
2017-09-15 14:00:02 +05:30
|
|
|
+ resolveLoader: {
|
|
|
|
+ modules: ['/usr/share/gitlab/node_modules', '/usr/lib/nodejs'],
|
2018-03-27 20:24:05 +05:30
|
|
|
+ },
|
2017-09-15 14:00:02 +05:30
|
|
|
+
|
2018-11-12 17:59:31 +05:30
|
|
|
module: {
|
|
|
|
strictExportPresence: true,
|
|
|
|
rules: [
|