Hotfix: ignore everything in ./tests and playwright.config.ts when checking types during webpack build (#1470)

[Frontend Build
Check](https://github.com/webrecorder/browsertrix-cloud/actions/workflows/frontend-build-check.yaml)
was failing on main bc Webpack was type-checking a number of files that
require various `devDependencies`, which are purposefully not installed
at this point to mirror `frontend/Dockerfile` behaviour.
This commit is contained in:
Emma Segal-Grossman 2024-01-16 21:01:01 -05:00 committed by GitHub
parent 90197b2a85
commit 7282274502
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,7 +152,11 @@ const main = {
}),
new ForkTsCheckerWebpackPlugin({
typescript: { configOverwrite: { exclude: ["**/*.test.ts"] } },
typescript: {
configOverwrite: {
exclude: ["**/*.test.ts", "tests/**/*.ts", "playwright.config.ts"],
},
},
}),
new HtmlWebpackPlugin({