summaryrefslogtreecommitdiff
path: root/web-ui/config
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2016-12-29 10:54:40 -0200
committerAnike Arni <aarni@thoughtworks.com>2016-12-29 10:54:40 -0200
commitee82bd9ea42fe9acbe0c9750931a899ada335cfa (patch)
tree53084ee80a94bae6db07f712fe8b22ac3a30ea3e /web-ui/config
parent639430167b646de6fdbb0f275386dae2856b7e72 (diff)
Move aliases to common folder for local and production compilation
Diffstat (limited to 'web-ui/config')
-rw-r--r--web-ui/config/alias-webpack.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/web-ui/config/alias-webpack.js b/web-ui/config/alias-webpack.js
new file mode 100644
index 00000000..f4ea1b63
--- /dev/null
+++ b/web-ui/config/alias-webpack.js
@@ -0,0 +1,28 @@
+var path = require('path');
+
+module.exports = {
+ 'DOMPurify': 'dompurify',
+ 'i18nextXHRBackend': 'i18next-xhr-backend',
+ 'i18nextBrowserLanguageDetector': 'i18next-browser-languagedetector',
+ 'flight': path.join(__dirname, '../app/bower_components/flight'),
+ 'found': path.join(__dirname, '../app/bower_components/foundation'),
+ 'js': path.join(__dirname, '../app/js'),
+ 'mail_list': path.join(__dirname, '../app/js/mail_list'),
+ 'page': path.join(__dirname, '../app/js/page'),
+ 'feedback': path.join(__dirname, '../app/js/feedback'),
+ 'hbs': path.join(__dirname, '../app/js/generated/hbs'),
+ 'helpers': path.join(__dirname, '../app/js/helpers'),
+ 'lib': path.join(__dirname, '../app/js/lib'),
+ 'views': path.join(__dirname, '../app/js/views'),
+ 'tags': path.join(__dirname, '../app/js/tags'),
+ 'mail_list_actions': path.join(__dirname, '../app/js/mail_list_actions'),
+ 'user_alerts': path.join(__dirname, '../app/js/user_alerts'),
+ 'mail_view': path.join(__dirname, '../app/js/mail_view'),
+ 'dispatchers': path.join(__dirname, '../app/js/dispatchers'),
+ 'services': path.join(__dirname, '../app/js/services'),
+ 'mixins': path.join(__dirname, '../app/js/mixins'),
+ 'search': path.join(__dirname, '../app/js/search'),
+ 'foundation': path.join(__dirname, '../app/js/foundation'),
+ 'features': path.join(__dirname, '../app/js/features/features'),
+ 'user_settings': path.join(__dirname, '../app/js/user_settings')
+}