forked from transferthought/transfer-thought
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvue.config.js
More file actions
executable file
·32 lines (29 loc) · 933 Bytes
/
vue.config.js
File metadata and controls
executable file
·32 lines (29 loc) · 933 Bytes
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 CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
module.exports = {
configureWebpack: {
plugins: [new CaseSensitivePathsPlugin()],
output: {
// Ensuring the output file names are distinctly named
filename: 'js/[name].[contenthash].js',
},
},
chainWebpack: (config) => {
config.plugins.delete('prefetch');
// GraphQL Loader
config.module
.rule('html')
.test(/\.(html)$/)
.use('html-loader')
.loader('html-loader')
.end();
// const svgRule = config.module.rule('svg');
// svgRule.uses.clear();
// svgRule
// .use('babel-loader')
// .loader('babel-loader')
// .end()
// .use('vue-svg-loader')
// .loader('vue-svg-loader');
},
transpileDependencies: ['vuetify'],
};