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
config Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
patches
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
.dockerignore
.editorconfig
.eslintrc.js Fix missing page component imports (#1610) 2024-03-18 20:55:35 -07:00
.gitignore
.prettierignore Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
.vscode
00-browsertrix-nginx-init.sh
Dockerfile Upgrade Node 16 > 18 (#1612) 2024-03-19 13:02:08 -07:00
frontend.conf.template
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
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
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