代码定位功能默认关闭。

This commit is contained in:
piexlMax(奇淼
2024-01-17 16:05:32 +08:00
parent a2269bcdd5
commit d849df41be
3 changed files with 4 additions and 7 deletions

View File

@@ -16,8 +16,6 @@ function findSvgFile(dir) {
.toString()
.replace(clearReturn, '')
.replace(svgTitle, ($1, $2) => {
// console.log(++i)
// console.log(dirent.name)
let width = 0
let height = 0
let content = $2.replace(clearHeightWidth, (s1, s2, s3) => {
@@ -42,8 +40,6 @@ function findSvgFile(dir) {
export const svgBuilder = (path) => {
if (path === '') return
const res = findSvgFile(path)
// console.log(res.length)
// const res = []
return {
name: 'svg-transform',
transformIndexHtml(html) {