Closed Liynw closed 1 year ago
You can add the directory of the css files to the setting skip_render
in _config.yml
By the way, I think all files except html and markdown should skip rendering by default
@cqbzljt You can try to apply this patch: https://github.com/hexojs/hexo/pull/5118
I will close this Issue because I believe it has been fixed. If the problem still exists, please feel free to reopen it.
I put a large css file(27KB) in
./source/
(path:./source/assets/css/custom.css
), but it can't be copied completely in./public/
afterhexo g
.Check List
Please check followings before submitting a new issue.
hexo version
to check)Expected behavior
There is a css file
./public/assets/css/custom.css
and it's the same as./source/assets/css/custom.css
afterhexo g
.Actual behavior
However,
./public/assets/css/custom.css
was only 6KB and it was a part of./source/assets/css/custom.css
.How to reproduce?
./source
hexo g
./public
Is the problem still there under "Safe mode"?
Yes.
Environment & Settings
Node.js & npm version(
node -v && npm -v
)Your site
_config.yml
(Optional)Hexo and Plugin version(
npm ls --depth 0
)Your package.json
package.json
Others
I don't know if it's deliberately, but it brings me some problems.