Add terser as a devDependency and update package-lock.json with new dependencies

This commit is contained in:
Torsten Schulz (local)
2025-12-04 16:43:12 +01:00
parent 6e9116e819
commit fb2de33e76
197 changed files with 108854 additions and 0 deletions

27
client/node_modules/terser/main.js generated vendored Normal file
View File

@@ -0,0 +1,27 @@
import "./lib/transform.js";
import "./lib/mozilla-ast.js";
import { minify } from "./lib/minify.js";
export { minify, minify_sync } from "./lib/minify.js";
export { run_cli as _run_cli } from "./lib/cli.js";
export async function _default_options() {
const defs = {};
Object.keys(infer_options({ 0: 0 })).forEach((component) => {
const options = infer_options({
[component]: {0: 0}
});
if (options) defs[component] = options;
});
return defs;
}
async function infer_options(options) {
try {
await minify("", options);
} catch (error) {
return error.defs;
}
}