add path for loaders too, by Jishnu

This commit is contained in:
Pirate Praveen 2017-09-15 14:00:02 +05:30
parent b7c8171931
commit 9a6241d565

View file

@ -8,3 +8,16 @@
alias: {
'~': path.join(ROOT_PATH, 'app/assets/javascripts'),
'emojis': path.join(ROOT_PATH, 'fixtures/emojis'),
@@ -254,7 +255,12 @@
'vendor': path.join(ROOT_PATH, 'vendor/assets/javascripts'),
'vue$': 'vue/dist/vue.esm.js',
}
+ },
+
+ resolveLoader: {
+ modules: ['/usr/share/gitlab/node_modules', '/usr/lib/nodejs'],
}
+
}
if (IS_PRODUCTION) {