Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
docpad-plugin-uglify
Advanced tools
Minify all JavaScript in the src/documents
folder, using
UglifyJS, in DocPad.
Convention: .js.anything
$ docpad install uglify
The default configuration for this plugin is the equivalant of adding the following UglifyJS options to your DocPad configuration file:
plugins:
uglify:
# Disable UglifyJS on the development environment.
environments:
development:
enabled: false
# Pass false to skip compressing entirely. Pass an object to specify custom
# compressor options: http://lisperator.net/uglifyjs/compress .
compress: {}
# Pass false to skip mangling names.
mangle: {}
It is possible to override the default configuration on a per-template basis:
---
uglify:
mangle: false
---
var hi = "Hello!";
Discover the change history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Licensed under the incredibly permissive MIT license
Copyright © 2012+ Bevry Pty Ltd us@bevry.me (http://bevry.me)
FAQs
Minify JavaScript in DocPad using UglifyJS
The npm package docpad-plugin-uglify receives a total of 5 weekly downloads. As such, docpad-plugin-uglify popularity was classified as not popular.
We found that docpad-plugin-uglify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.