allanguys / font-spider-plus

font-spider-plus(字蛛+)是一个智能 WebFont 压缩工具,它能自动分析出本地页面和线上页面使用的 WebFont 并进行按需压缩。
MIT License
708 stars 51 forks source link

fsp local目录查询问题 #26

Open EmptyDreams opened 2 years ago

EmptyDreams commented 2 years ago

我的本地网页中使用了相对路径:\css\index.css 运行fsp local *\.html时,fsp却报错找不到:D:\\css\\index.css

allanguys commented 2 years ago

本地的目录结构是怎样的呢?

Cconcerto commented 2 years ago

我也遇到同样的问题。在本地网页index.html中使用相对路径\style.css,从而就找不到对应的文件。本地目录如下:

.
├── aboutus.html
├── business
│   ├── analyze.html
│   ├── database.html
│   ├── loading.html
│   ├── measure.html
│   ├── other.html
│   ├── smartcalculate
│   │   ├── service.html
│   │   ├── software.html
│   │   └── supercomputing.html
│   └── smartcalculate.html
├── business.html
├── contact.html
├── figs
├── fonts
│   └── 5d5471b57d83aaa6a82f..ttf
├── index.html
├── js
│   └── home.js
├── recruit.html
└── style.css
EmptyDreams commented 2 years ago

本地的目录结构是怎样的呢?

D:...\public\index.html D:...\public\css\index.css

Cconcerto commented 2 years ago

除此以外,business文件夹内部的html文件似乎没有被识别,字体只有部分在上层目录存在的生效。如 2021-09-28 15-45-57 的屏幕截图

yanyuteng commented 3 months ago

same problem