D0n9X1n / hexo-blog-encrypt

Yet, just another hexo plugin for security.
https://www.npmjs.com/package/hexo-blog-encrypt
MIT License
971 stars 101 forks source link

css和js输出文件名最好支持自定义 #143

Closed lolifamily closed 3 years ago

lolifamily commented 3 years ago

css和js输出文件名最好支持自定义

D0n9X1n commented 3 years ago

需求受众较小, 你可以直接修改 https://github.com/MikeCoder/hexo-blog-encrypt/blob/ed01353245349c94fcc5a11ca67b598161e59bc6/index.js#L117 还有 https://github.com/MikeCoder/hexo-blog-encrypt/blob/ed01353245349c94fcc5a11ca67b598161e59bc6/index.js#L121 这边的代码把文件放到自定义的位置

然后修改 https://github.com/MikeCoder/hexo-blog-encrypt/blob/ed01353245349c94fcc5a11ca67b598161e59bc6/index.js#L108 把路径修改为自定义的路径.