From fc87c009806dcc98867f6b58efe29b042aa01dee Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 18 May 2026 23:10:59 +0800 Subject: node: update --- .../babel-plugin-minify-flip-comparisons/README.md | 55 ---------------------- 1 file changed, 55 deletions(-) delete mode 100644 node_modules/babel-plugin-minify-flip-comparisons/README.md (limited to 'node_modules/babel-plugin-minify-flip-comparisons/README.md') diff --git a/node_modules/babel-plugin-minify-flip-comparisons/README.md b/node_modules/babel-plugin-minify-flip-comparisons/README.md deleted file mode 100644 index 952dcd6c..00000000 --- a/node_modules/babel-plugin-minify-flip-comparisons/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# babel-plugin-minify-flip-comparisons - -**Note:** while this plugin doesn’t shorten the output in any way, it does optimize it for repetition-based compression algorithms such as gzip. - -## Example - -**In** - -```javascript -const foo = a === 1; -if (bar !== null) { - var baz = 0; -} -``` - -**Out** - -```javascript -const foo = 1 === a; -if (null !== bar) { - var baz = 0; -} -``` - -## Installation - -```sh -npm install babel-plugin-minify-flip-comparisons --save-dev -``` - -## Usage - -### Via `.babelrc` (Recommended) - -**.babelrc** - -```json -{ - "plugins": ["minify-flip-comparisons"] -} -``` - -### Via CLI - -```sh -babel --plugins minify-flip-comparisons script.js -``` - -### Via Node API - -```javascript -require("@babel/core").transform("code", { - plugins: ["minify-flip-comparisons"] -}); -``` -- cgit v1.2.3