vartheme_bs5-2.0.x-dev/webpack.config.build.js

webpack.config.build.js
const { merge } = require('webpack-merge');
const webpackConfig = require('./webpack.config');
const TerserPlugin = require('terser-webpack-plugin');

module.exports = merge(webpackConfig, {
  mode: 'development',
  devtool: false,
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        terserOptions: {
          compress: {},
          mangle: false,
          module: true,
          format: {
            beautify: true,
            comments: false,
            indent_level: 2,
          },
        },
        extractComments: false,
      })
    ],
  }
});

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc