-
Notifications
You must be signed in to change notification settings - Fork 1
/
vue.config.js
36 lines (36 loc) · 972 Bytes
/
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
33
34
35
36
const DeclarationBundlerPlugin = require('declaration-bundler-webpack-plugin');
const path = require('path');
module.exports = {
parallel: false,
configureWebpack: {
output: {
libraryExport: 'default',
},
resolve: {
alias: {
'power-ui': path.join(__dirname, 'components/power'),
'vue-cdk': path.join(__dirname, 'components/cdk')
}
},
// plugins: [
// new DeclarationBundlerPlugin({
// moduleName: 'powerui',
// out: './power-ui.d.ts',
// }),
// ],
},
// chainWebpack: (config) => {
// config.module
// .rule('ts')
// .use('ts-loader')
// .loader('ts-loader')
// .tap((opts) => {
// opts.transpileOnly = false;
// opts.happyPackMode = false;
// opts.para;
// return opts;
// });
// config.module.rule('ts').uses.delete('cache-loader');
// config.module.rule('tsx').uses.delete('cache-loader');
// },
};