Chatwoot/config/webpack/resolve.js

15 lines
408 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'),
2019-10-16 09:06:17 +00:00
assets: path.resolve('./app/javascript/dashboard/assets'),
components: path.resolve('./app/javascript/dashboard/components'),
2019-08-21 04:57:57 +00:00
},
};
module.exports = resolve;