mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
first commit
This commit is contained in:
commit
f1bdec484e
165 changed files with 20993 additions and 0 deletions
22
webpack.plugins.ts
Normal file
22
webpack.plugins.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import Dotenv from "dotenv-webpack";
|
||||
import { sentryWebpackPlugin } from "@sentry/webpack-plugin";
|
||||
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",
|
||||
safe: false,
|
||||
systemvars: true,
|
||||
}),
|
||||
sentryWebpackPlugin({
|
||||
authToken: process.env.SENTRY_AUTH_TOKEN,
|
||||
org: "hydra-launcher",
|
||||
project: "hydra-launcher",
|
||||
}),
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue