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.

webpack.plugins.ts 551B

123456789101112131415161718192021
  1. import type IForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
  2. const CopyPlugin = require('copy-webpack-plugin')
  3. // eslint-disable-next-line @typescript-eslint/no-var-requires
  4. const ForkTsCheckerWebpackPlugin: typeof IForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
  5. export const plugins = [
  6. new ForkTsCheckerWebpackPlugin({
  7. logger: 'webpack-infrastructure',
  8. }),
  9. /*
  10. new CopyPlugin({
  11. patterns: [
  12. {
  13. from: './src/webview-preload.js',
  14. to: 'assets'
  15. }
  16. ]
  17. })
  18. */
  19. ];