@jaxolotl/wdclib
Version:
Required Library to bridge javascript with Tableau. Use the scripts below to create the combined shim library. i.e. npm run-script build_and_copy
13 lines (8 loc) • 335 B
JavaScript
import webpack from 'webpack';
import baseConfig from './webpack.config.babel';
// Add the minifying plugin for production
let minifier = new webpack.optimize.UglifyJsPlugin();
baseConfig.plugins.push(minifier);
// Update the file name we output
baseConfig.output.filename = 'bundle.min.js';
export default baseConfig;