Skip to content

Commit

Permalink
chore: @putout/minify: v3.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Jun 7, 2024
1 parent ef4c058 commit 16ba399
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024.06.07, v3.16.0

feature:
- ef4c058 @putout/minify: convertStrictEqualToEqual: add option (#16)

2024.06.07, v3.15.0

feature:
Expand Down
22 changes: 10 additions & 12 deletions lib/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,16 @@ export const getSecondPassOptions = (options) => {
};
};

export const getThirdPassOptions = (options) => {
return {
rules: {
'minify/mangle-names': 'off',
'minify/convert-strict-equal-to-equal': 'off',
'minify/inline': 'off',
},
plugins: [
['minify', minifyPlugin],
],
};
};
export const getThirdPassOptions = () => ({
rules: {
'minify/mangle-names': 'off',
'minify/convert-strict-equal-to-equal': 'off',
'minify/inline': 'off',
},
plugins: [
['minify', minifyPlugin],
],
});

export const getFirstPassOptions = (options) => {
const {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@putout/minify",
"version": "3.15.0",
"version": "3.16.0",
"type": "module",
"author": "coderaiser <[email protected]> (https://github.com/coderaiser)",
"description": "🐊Putout-based minifier",
Expand Down

0 comments on commit 16ba399

Please sign in to comment.