You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
516 B
15 lines
516 B
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),
|
|
}),
|
|
]
|