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:
parent
90197b2a85
commit
7282274502
@ -152,7 +152,11 @@ const main = {
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
new ForkTsCheckerWebpackPlugin({
|
new ForkTsCheckerWebpackPlugin({
|
||||||
typescript: { configOverwrite: { exclude: ["**/*.test.ts"] } },
|
typescript: {
|
||||||
|
configOverwrite: {
|
||||||
|
exclude: ["**/*.test.ts", "tests/**/*.ts", "playwright.config.ts"],
|
||||||
|
},
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
|
Loading…
Reference in New Issue
Block a user