All files webpack.config-test.js

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 241x 1x 1x   1x                                      
const config = require('./webpack.config');
const extend = require('extend');
var nodeExternals = require('webpack-node-externals');
 
module.exports = extend(
    // shallow extend the base configuration to avoid extending
    // unwanted configuration options in `output` and `external`
    false,
    config,
    {
        target: 'node',
 
        output: {
            // Override base config's output with an empty dictionary.
            // umd options would break unit tests.
                // sourcemap support for IntelliJ/Webstorm
                devtoolModuleFilenameTemplate: '[absolute-resource-path]',
                devtoolFallbackModuleFilenameTemplate: '[absolute-resource-path]?[hash]'
        },
 
        externals: [nodeExternals()]
    }
);