hydra/webpack.plugins.ts
2024-04-11 13:27:24 +00:00

15 lines
443 B
TypeScript

import Dotenv from "dotenv-webpack";
import type IForkTsCheckerWebpackPlugin from "fork-ts-checker-webpack-plugin";
// eslint-disable-next-line @typescript-eslint/no-var-requires
const ForkTsCheckerWebpackPlugin: typeof IForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
export const plugins = [
new ForkTsCheckerWebpackPlugin({
logger: "webpack-infrastructure",
}),
new Dotenv({
path: "./.env",
}),
];