browsertrix/frontend
Emma Segal-Grossman d2862ff797
Emit more modern code for browsers (#1614)
Adds a `browserlist` field to `package.json`, which Webpack picks up so
it doesn't convert nullish coalescing operators into obfuscated messes
like `key !== null && key !== void 0 ? key : null`.

This improves output size a little & improves the debugging experience
as well.

Tested in Chrome, FF, & Safari locally and didn't encounter any issues.
2024-03-19 17:22:41 -04:00
..
.husky
assets Add License, Logo and README updates for release (#157) 2022-02-23 12:10:46 -08:00
config Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
patches Fix attribute casing & lit-analyzer issues (#1429) 2023-12-11 12:34:03 -05:00
scripts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
src Clean up ESLint warnings in main (#1616) 2024-03-19 17:22:27 -04:00
tests Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
xliff terminology tweaks in frontend: (part of #922) (#1062) 2023-08-09 15:38:58 -07:00
.dockerignore Optimizing Frontend Dockerfile (#60) 2021-12-05 18:39:45 -08:00
.editorconfig chore: add editorconfig in frontend 2023-02-24 13:04:11 -08:00
.eslintrc.js Fix missing page component imports (#1610) 2024-03-18 20:55:35 -07:00
.gitignore CI: Add Playwright UI e2e tests + CI (#614) 2023-03-22 16:23:22 -07:00
.prettierignore Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
.vscode add vscode config symlink in frontend dir 2023-11-20 16:56:48 -05:00
00-browsertrix-nginx-init.sh
Dockerfile Upgrade Node 16 > 18 (#1612) 2024-03-19 13:02:08 -07:00
frontend.conf.template Passthrough X-Forwarded-Proto header in frontend nginx (#1226) 2023-09-28 10:58:57 -07:00
index.d.ts enable a few more useful eslint suggestions & correct some more types (#1517) 2024-02-09 16:14:08 -08:00
lit-localize.json
minio.conf Local Deployment Work: Support running locally + test cluster on CI (#396) 2022-12-02 19:58:34 -08:00
package.json Emit more modern code for browsers (#1614) 2024-03-19 17:22:41 -04:00
playwright.config.ts
postcss.config.js Org settings layout fix + misc styling & consistency improvements (#1427) 2023-12-13 17:29:35 -05:00
prettier.config.js Fix mismatch in prettier import order config (#1609) 2024-03-18 22:14:13 -04:00
README.md Update frontend local dev guide (#1073) 2023-08-15 12:03:39 -07:00
sample.env.local
tailwind.config.js Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
tsconfig.eslint.json Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
tsconfig.json Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
web-test-runner.config.mjs Fix asset imports in tests (#1611) 2024-03-19 13:06:07 -07:00
webpack.config.js Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
webpack.dev.js Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
webpack.prod.js Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
yarn.lock Fix asset imports in tests (#1611) 2024-03-19 13:06:07 -07:00