Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Use source maps to map error message locations to modules (this slows down the compilation).
If you use your own minify function please read the minify section for handling source maps correctly.
⚠️ cheap-source-map options don't work with this plugin.
Whether comments shall be extracted to a separate file, (see details).
By default extract only comments using /^\**!|@preserve|@license|@cc_on/i regexp condition and remove remaining comments.
If the original file is named foo.js, then the comments will be stored to foo.js.LICENSE.
The uglifyOptions.output.comments option specifies whether the comment will be preserved, i.e. it is possible to preserve some comments (e.g. annotations) while extracting others or even preserving comments that have been extracted.
The file where the extracted comments will be stored.
Default is to append the suffix .LICENSE to the original filename.
webpack.config.js
module.exports = {
optimization: {
minimizer: [
new UglifyJsPlugin({
extractComments: {
condition: /^\**!|@preserve|@license|@cc_on/i,
filename: 'extracted-comments.js',
banner(licenseFile) {
return `License information can be found in ${licenseFile}`;
},
},
}),
],
},
};
banner
Type: Boolean|String|Function<(string) -> String>
Default: /*! For license information please see ${commentsFile} */
The banner text that points to the extracted file and will be added on top of the original file.
Can be false (no banner), a String, or a Function<(string) -> String> that will be called with the filename where extracted comments have been stored.
Will be wrapped into comment.
webpack-contrib/uglifyjs-webpack-plugin thuộc nhóm Frontend trên TopGit, cùng 5 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về webpack-contrib/uglifyjs-webpack-plugin ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/webpack-contrib/uglifyjs-webpack-plugin là nguồn chính thức.
Vì sao webpack-contrib/uglifyjs-webpack-plugin được xếp vào nhóm Frontend?
TopGit xếp webpack-contrib/uglifyjs-webpack-plugin vào nhóm Frontend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "minify", "minimizer", "uglify"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
webpack-contrib/uglifyjs-webpack-plugin có bao nhiêu sao?
webpack-contrib/uglifyjs-webpack-plugin có 1.4k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/webpack-contrib/uglifyjs-webpack-plugin. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
webpack-contrib/uglifyjs-webpack-plugin có những chủ đề gì?
GitHub topics của webpack-contrib/uglifyjs-webpack-plugin: "minify", "minimizer", "uglify", "webpack", "webpack-plugin". TopGit xếp repo vào nhóm Frontend.
webpack-contrib/uglifyjs-webpack-plugin còn đang phát triển không?
Commit gần nhất trên webpack-contrib/uglifyjs-webpack-plugin là 6.7 năm trước (theo timestamp GitHub). Repo có 172 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
webpack-contrib/uglifyjs-webpack-plugin viết bằng ngôn ngữ gì?
webpack-contrib/uglifyjs-webpack-plugin chủ yếu viết bằng JavaScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
uglifyjs-webpack-plugin có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về uglifyjs-webpack-plugin.