Comments (8)
唉,重构一把一堆坑😮💨
from hexo-douban.
别慌 哈哈哈 生成后的文件压缩了,没去细看代码,
{value:void 0)
似乎是}没对应
from hexo-douban.
你有没有引一些奇奇怪怪的压缩插件?我这里生成的是正常的,不知道为啥到你那边 } 没了。。。
from hexo-douban.
"hexo-optimize": "^3.3.0",
# pnpm install hexo-optimize
# 静态资源压缩
filter_optimize:
enable: true
# static resource versioning
versioning: false
css:
# minify all css files
minify: true
excludes:
# use preload to load css elements dynamically
delivery:
- '@fortawesome/fontawesome-free'
- 'fonts.googleapis.com'
# make specific css content inline into the html page
inlines:
# support full path only
- css/main.css
js:
# minify all js files
minify: true
excludes:
# remove the comments in each of the js files
remove_comments: false
html:
# minify all html files
minify: true
excludes:
# set the priority of this plugin,
# lower means it will be executed first, default of Hexo is 10
priority: 12
只有这一个
from hexo-douban.
的确,加了这个我也寄了。。。
from hexo-douban.
把html.minify关了好像就好了。。。
from hexo-douban.
升 2.3.3 兼容了一把。
from hexo-douban.
nice ! 测试已正常
from hexo-douban.
Related Issues (20)
- 与hexo-optimize冲突 HOT 2
- 书评不显示问题 HOT 1
- 生成的页面没有评论区 HOT 6
- 为什么每次执行 hexo generate 指令,都会删除插件生成好的 index.html 文件? HOT 2
- 强制刷新评论不更新 HOT 2
- 出现接口报错,接口可能已经失效了?不太确定 HOT 1
- hexo douban不会触发generate books movies操作 HOT 8
- 影片信息错误 HOT 1
- 豆瓣主页书单展示不全 HOT 3
- 生成页面代码报错,且无任何影片信息 HOT 5
- hexo douban 显示“No douban config specified” HOT 1
- 显示异常 HOT 3
- 豆瓣数据同步问题 HOT 3
- 用户ID输入错误 HOT 4
- 功能建议| 在读 想读 已读 HOT 5
- 生成成功,但是并未写入? HOT 2
- idouban读取异常 HOT 2
- idouban-picture 图片显示溢出 HOT 2
- 页面显示异常 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-douban.