I used the Vue cli to create this application. babel.config.js was already in the directory that the cli automatically created but I added the vue.config.js file. What is the difference between these 2 files and can i combine them? it is confusing because they both end with "config.js" so i am thinking that they might have something in common.
This is my babel.config.js
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
This is my vue.config.js
module.exports = {
devServer: {
proxy: {
'^/users': {
target: 'http://localhost:5000',
ws: true,
changeOrigin: true
},
'^/api': {
target: 'http://localhost:5000',
ws: true,
changeOrigin: true
}
}
}
};