Skip to content

Commit

Permalink
Added API function aliases ↞ [auto-sync from adamlui/js-utils]
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored and kudo-sync-bot committed May 6, 2024
1 parent feae93f commit e6cf22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.js/src/minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function validateOptions(options, defaultOptions, docURL, exampleCall) {

// EXPORT API functions
const funcAliases = {
minify: ['compress'],
minify: ['build', 'Build', 'compile', 'Compile', 'compress', 'Compress', 'Minify'],
findJS: ['find', 'Find', 'findjs', 'findJs', 'Findjs', 'FindJs', 'FindJS', 'search', 'Search']
};
module.exports = { minify, findJS };
Expand Down

0 comments on commit e6cf22c

Please sign in to comment.