Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Commit 15ab1c7

Browse files
committed
prefetchしないようにしてみた
1 parent 1f6c57a commit 15ab1c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vue.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ const CompressionWebpackPlugin = require('compression-webpack-plugin');
33
const ifProd = (...plugins) => (process.env.NODE_ENV === 'production' ? plugins : []);
44

55
module.exports = {
6+
chainWebpack: config => {
7+
config.plugins.delete('prefetch');
8+
},
69
configureWebpack: {
710
plugins: [
811
...ifProd(

0 commit comments

Comments
 (0)