Chatwoot/config/webpack/resolve.js

16 lines
449 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: {
2022-08-22 06:43:53 +00:00
vue: '@vue/compat',
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'),
2019-08-21 04:57:57 +00:00
},
};
module.exports = resolve;