代码定位功能默认关闭。
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user