text: const { merge } = require('webpack-merge');
  const common = require('./webpack.common.js');
  const LicensePlugin = require('webpack-license-plugin');
  const path = require('path');
  
  module.exports = merge(common, {
      entry: {
          'license-gen': './license-gen/index.js'
      },
      output: {
          path: path.resolve(__dirname, 'dist-discard/'),
      },
      plugins: [
          new LicensePlugin({
              excludedPackageTest: () => {
                  return false;
              },
              outputFilename: '../../server/dist/oss-licenses.json'
          })
      ]
  });
  