From 9206b1f38256e09948a656276f9c5f9a1f3a0bbc Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 03 七月 2024 18:38:20 +0800
Subject: [PATCH] 作弊api
---
vue.config.js | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 43e9f92..2e3c632 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,8 +1,8 @@
-'use strict'
-const path = require('path')
+'use strict';
+const path = require('path');
-function resolve (dir) {
- return path.join(__dirname, dir)
+function resolve(dir) {
+ return path.join(__dirname, dir);
}
module.exports = {
@@ -31,12 +31,12 @@
filename: 'index.html'
}
},
- chainWebpack (config) {
+ chainWebpack(config) {
// set svg-sprite-loader
config.module
.rule('svg')
.exclude.add(resolve('src/icons'))
- .end()
+ .end();
config.module
.rule('icons')
.test(/\.svg$/)
@@ -47,6 +47,6 @@
.options({
symbolId: 'icon-[name]'
})
- .end()
+ .end();
}
-}
+};
--
Gitblit v1.8.0