Chatwoot/config/webpack/resolve.js

14 lines
335 B
JavaScript
Raw Normal View History

2019-08-21 04:57:57 +00:00
const path = require('path');
const resolve = {
extensions: ['', '.js', '.vue'],
alias: {
vue$: 'vue/dist/vue.common.js',
src: path.resolve('./app/javascript/src'),
assets: path.resolve('./app/javascript/src/assets'),
components: path.resolve('./app/javascript/src/components'),
},
};
module.exports = resolve;