github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/scripts/webpack/webpack.prod.ts (about)

     1  // @ts-nocheck
     2  import { merge } from 'webpack-merge';
     3  
     4  import common from './webpack.common';
     5  
     6  export default merge(common, {
     7    mode: 'production',
     8  
     9    // Recommended choice for production builds with high quality SourceMaps.
    10    devtool: 'source-map',
    11    // TODO deal with these types
    12    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    13  } as any);