We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot minify NexT local search script.
But using the uglify-es in command line could minify it.
uglify-es
Here is the script: https://github.com/theme-next/hexo-theme-next/blob/master/layout/_third-party/search/localsearch.swig
And my package.json:
{ "name": "hexo-site", "version": "0.0.0", "private": true, "hexo": { "version": "3.4.4" }, "dependencies": { "hexo": "^3.4.4", "hexo-all-minifier": "^0.5.1", "hexo-deployer-git": "^0.3.1", "hexo-filter-plantuml": "^1.0.2", "hexo-generator-archive": "^0.1.5", "hexo-generator-atom-markdown-writer-meta": "^0.1.1", "hexo-generator-category": "^0.1.3", "hexo-generator-feed": "^1.2.0", "hexo-generator-index": "^0.2.0", "hexo-generator-searchdb": "^1.0.8", "hexo-generator-seo-friendly-sitemap": "0.0.21", "hexo-generator-tag": "^0.2.0", "hexo-renderer-ejs": "^0.3.1", "hexo-renderer-markdown-it-plus": "^1.0.2", "hexo-renderer-stylus": "^0.3.1", "hexo-server": "^0.3.1", "hexo-symbols-count-time": "^0.2.0", "markdown-it-criticmarkup": "0.0.1", "markdown-it-task-lists": "^2.1.0" } }
And my minifiers config:
# Minifier all_minifier: true ## HTML html_minifier: enable: true ignore_error: false silent: false exclude: ## CSS css_minifier: enable: true silent: false exclude: - '*.min.css' ## JS js_minifier: enable: true mangle: true silent: false exclude: # Image image_minifier: enable: true interlaced: false multipass: false optimizationLevel: 2 pngquant: false progressive: false silent: false # JS Concator js_concator: enable: true bundle_path: '/js/bundle.js' front: true silent: false
The text was updated successfully, but these errors were encountered:
Sorry for late reply. will be checked recently. I am currently busy working on my paper.
Sorry, something went wrong.
Same issue
I think this issue has already been solved by #105.
No branches or pull requests
Cannot minify NexT local search script.
But using the
uglify-es
in command line could minify it.Here is the script: https://github.com/theme-next/hexo-theme-next/blob/master/layout/_third-party/search/localsearch.swig
And my package.json:
And my minifiers config:
The text was updated successfully, but these errors were encountered: