You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 014480e
Browse filesBrowse the repository at this point in the historyBrowse files
/** @typedef {(sources: MinifySources, options?: MinifyOptions) => Promise<MinifyOutput>} Minify what one call to the minifier takes and answers */
309
309
310
-
/** @typedef {{ minify: Minify, phases: string[], corrections?: { enabled: boolean }, improvements?: { enabled: boolean, lets: { enabled: boolean, applied: boolean }, literalsLast: { enabled: boolean, applied: boolean }, choosesBySize: { enabled: boolean } }, modules: MinifierModules }} Minifier what a caller minifies with, the switches of its corrections and improvements, and the modules it is built from */
310
+
/** @typedef {{ minify: Minify, phases: string[], corrections?: { enabled: boolean }, improvements?: { enabled: boolean, lets: { enabled: boolean, applied: boolean }, literalsLast: { enabled: boolean, applied: boolean }, namesByCount: { enabled: boolean, applied: boolean }, choosesBySize: { enabled: boolean } }, modules: MinifierModules }} Minifier what a caller minifies with, the switches of its corrections and improvements, and the modules it is built from */
311
311
312
312
/**
313
313
* One step building webpack's minifier, installing what it implements onto
/** @typedef {{ enabled: boolean, lets: { enabled: boolean, applied: boolean }, literalsLast: { enabled: boolean, applied: boolean }, choosesBySize: { enabled: boolean } }} Improvements the switch the improvements read, one for writing `const` as `let` alone, one for writing a literal after what an equality compares it with, and one for trying a small program without each */
20233
+
/** @typedef {{ enabled: boolean, lets: { enabled: boolean, applied: boolean }, literalsLast: { enabled: boolean, applied: boolean }, namesByCount: { enabled: boolean, applied: boolean }, choosesBySize: { enabled: boolean } }} Improvements the switch the improvements read, one for writing `const` as `let` alone, one for writing a literal after what an equality compares it with, one for naming by counted characters, and one for trying a small program without each */
20224
20234
20225
20235
// Up to this many bytes, a program is minified again with each spelling the
20226
20236
// improvements choose by measure switched off, which costs little there.
"function f(a, p) { a === undefined || a === null || p; a === undefined || a !== null || p; a !== undefined || a === null || p; a !== undefined || a !== null || p; a === undefined && a === null || p; a === undefined && a !== null || p; a !== undefined && a === null || p; a !== undefined && a !== null || p; } f(); const c = 1; console.log(c);";
0 commit comments