Chatwoot/config/webpack/resolve.js
2022-08-22 12:13:53 +05:30

15 lines
449 B
JavaScript

const path = require('path');
const resolve = {
extensions: ['.js', '.vue'],
alias: {
vue: '@vue/compat',
dashboard: path.resolve('./app/javascript/dashboard'),
widget: path.resolve('./app/javascript/widget'),
survey: path.resolve('./app/javascript/survey'),
assets: path.resolve('./app/javascript/dashboard/assets'),
components: path.resolve('./app/javascript/dashboard/components'),
},
};
module.exports = resolve;