123456789101112131415 |
- import type IForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin'
- import { DefinePlugin } from 'webpack'
- // 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 DefinePlugin({
- 'process.env.TELEMETRY_WRITE_KEY': JSON.stringify(process.env.TELEMETRY_WRITE_KEY),
- }),
- ]
|