๐Ÿ“ฆ justjake / electron-forge-webpack-preload-error-repro

๐Ÿ“„ webpack.plugins.ts ยท 11 lines
1
2
3
4
5
6
7
8
9
10
11import 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',
  }),
];