'use strict';

const webpack = require('webpack');

module.exports = {
    mode: 'production',
    performance: { hints: false },
    plugins: [
    ],
    optimization: {
    },
    node: {
        fs: 'empty'
    },
    entry: {
        recurse: './packages/reftools/lib/recurse.js',
        clone: './packages/reftools/lib/clone.js',
        deref: './packages/reftools/lib/dereference.js'
    },
    output: {
        filename: '[name].min.js'
    }
};

@@ -97,85 +97,23 @@
    p
-erformance: %7B hints: false %7D,%0A    plugins: %5B%0A    %5D,%0A    optimization: %7B%0A    %7D
+lugins: %5B%0A    %5D
 ,%0A  
@@ -319,24 +319,75 @@
 eference.js'
+,%0A        reref: './packages/reftools/lib/reref.js'
 %0A    %7D,%0A    
@@ -425,22 +425,52 @@
 ame%5D.min.js'
+,%0A        libraryTarget: 'umd'
 %0A    %7D%0A%7D;%0A

tweak webpack reftools config