-
Notifications
You must be signed in to change notification settings - Fork 10
/
vue.config.js
32 lines (31 loc) · 1.02 KB
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
const path = require('path');
module.exports = {
lintOnSave: false,
configureWebpack: {
resolve: {
symlinks: false,
alias: {
// Make sure *our* version of ag-grid & vue is always loaded.
// This is needed for `yarn link / npm link` to work and prevent duplicate versions of these libs
// being loaded
'@ag-grid-community/core$': path.resolve(__dirname, 'node_modules/@ag-grid-community/core'),
vue$: path.resolve(__dirname, 'node_modules/vue/dist/vue.esm-bundler.js')
}
},
performance: {
hints: false
}
},
chainWebpack: config => {
config.module
.rule('vue')
.use('vue-loader')
.loader('vue-loader')
.tap(options => {
options.compilerOptions = {
...(options.compilerOptions || {}),
};
return options;
});
},
};