Chatwoot/config/webpack/resolve.js

20 lines
711 B
JavaScript
Raw Normal View History

2019-08-21 04:57:57 +00:00
const path = require('path');
const resolve = {
2019-08-21 15:52:20 +00:00
extensions: ['.js', '.vue'],
2019-08-21 04:57:57 +00:00
alias: {
vue$: 'vue/dist/vue.common.js',
2019-10-16 09:06:17 +00:00
dashboard: path.resolve('./app/javascript/dashboard'),
widget: path.resolve('./app/javascript/widget'),
survey: path.resolve('./app/javascript/survey'),
2019-10-16 09:06:17 +00:00
assets: path.resolve('./app/javascript/dashboard/assets'),
components: path.resolve('./app/javascript/dashboard/components'),
'./iconfont.eot': 'vue-easytable/libs/font/iconfont.eot',
'./iconfont.woff': 'vue-easytable/libs/font/iconfont.woff',
'./iconfont.ttf': 'vue-easytable/libs/font/iconfont.ttf',
'./iconfont.svg': 'vue-easytable/libs/font/iconfont.svg',
2019-08-21 04:57:57 +00:00
},
};
module.exports = resolve;