message: feat: webpack minimize
diff: @@ -6,10 +6,13 @@ module.exports = {
  mode: 'none',
  resolve: {
  mainFields: ['module', 'main'],
  - extensions: ['.js', '.ts']
  + extensions: ['.js', '.ts'],
  },
  externals: {
  - 'coc.nvim': 'commonjs coc.nvim'
  + 'coc.nvim': 'commonjs coc.nvim',
  + },
  + optimization: {
  + minimize: true,
  },
  module: {
  rules: [
  @@ -21,22 +24,22 @@ module.exports = {
  loader: 'ts-loader',
  options: {
  compilerOptions: {
  - sourceMap: true
  - }
  - }
  - }
  - ]
  - }
  - ]
  + sourceMap: true,
  + },
  + },
  + },
  + ],
  + },
  + ],
  },
  output: {
  path: path.join(__dirname, 'lib'),
  filename: 'index.js',
  - libraryTarget: 'commonjs'
  + libraryTarget: 'commonjs',
  },
  plugins: [],
  node: {
  __dirname: false,
  - __filename: false
  - }
  + __filename: false,
  + },
  };
  