hydra/webpack.plugins.ts

17 lines
481 B
TypeScript
Raw Normal View History

2024-04-14 06:20:27 +03:00
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",
2024-04-15 14:34:53 +03:00
safe: true,
systemvars: true,
2024-04-14 06:20:27 +03:00
}),
];