diff options
author | Deniz Akşimşek <deniz@denizaksimsek.com> | 2024-06-13 18:18:49 +0300 |
---|---|---|
committer | Deniz Akşimşek <deniz@denizaksimsek.com> | 2024-06-13 18:18:49 +0300 |
commit | f5df8aa499655dc32a116902cf1190397ee2ac55 (patch) | |
tree | 9202e27fb4a82eac5b5308210974775f4f4aa916 | |
parent | 4642273f7ebb4836799b5d659c3ecfbc99fbaa1c (diff) | |
download | missing-f5df8aa499655dc32a116902cf1190397ee2ac55.tar.gz missing-f5df8aa499655dc32a116902cf1190397ee2ac55.zip |
Remove bloat by reducing browser support in compiler
-rw-r--r-- | tool/css.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/css.ts b/tool/css.ts index a9abde7..c5afb8c 100644 --- a/tool/css.ts +++ b/tool/css.ts @@ -1,6 +1,6 @@ import { browserslistToTargets, - bundleAsync, + bundle, transform, } from "npm:lightningcss@1.21.7"; import browserslist from "npm:browserslist"; @@ -12,13 +12,13 @@ const input = Deno.args[0], // Compile -const compile = await bundleAsync({ +const compile = bundle({ filename: input, drafts: { nesting: true }, errorRecovery: true, minify: false, targets: browserslistToTargets( - browserslist(">= 0.25%"), + browserslist(">= 0.25% and not ie 11"), ), }); |