Sha256: 37113bbbdd1d99c3795e6cc052fa006819908a0f94703146bd0ed487a19b3fd3

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

const webpack = require("webpack");
const path = require("path");
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');

module.exports = {
  output: {
    path: path.resolve(__dirname, 'vendor'),
    filename: 'jot.js'
  },
  optimization: {
    minimizer: [
      new UglifyJsPlugin({
        uglifyOptions: {
          output: {
            comments: false
          }
        }
      })
    ]
  },
  entry:  path.resolve(__dirname, 'jot/browser_example/browserfy_root'),
  mode: 'production'
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jot-ruby-js-0.1.4 webpack.config.js