Skip to content
Snippets Groups Projects
webpack.config.prod.js 266 B
Newer Older
  • Learn to ignore specific revisions
  • const merge = require('webpack-merge');
    const WebpackCleanPlugin = require('webpack-clean');
    const common = require('./webpack.config');
    
    module.exports = merge(common, {
      mode: 'production',
      plugins: [
        new WebpackCleanPlugin('dist/viamapi-iframe.js')
      ]
    });