Add ts-loader

This commit is contained in:
2023-08-01 10:47:49 +01:00
parent c503a1a557
commit 5312fdfee6
4 changed files with 24 additions and 5 deletions

View File

@ -56,7 +56,7 @@ const config = {
new ESLintPlugin({
extensions: ["js", "mjs", "jsx", "ts", "tsx"],
eslintPath: require.resolve("eslint"),
failOnError: !isProduction,
failOnError: true,
cache: true,
}),
new MiniCssExtractPlugin({
@ -102,6 +102,7 @@ const config = {
],
},
},
require.resolve("ts-loader")
],
},
{