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

     1  import { merge } from 'webpack-merge';
     2  import LiveReloadPlugin from 'webpack-livereload-plugin';
     3  import common from './webpack.common';
     4  
     5  module.exports = merge(common, {
     6    devtool: 'eval-source-map',
     7    mode: 'development',
     8    plugins: [
     9      new LiveReloadPlugin({
    10        appendScriptTag: true,
    11      }),
    12    ],
    13    // TODO deal with these types
    14    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    15  } as any);