MyCrypto/webpack_config/webpack.freezer.js
Daniel Ternyak 7930ab6611
Revert "Upgrade to Webpack 4 (#1386)" (#1406)
This reverts commit d19c4f44e6b74fee412e69019cb2c98c876e1c8e.
2018-03-28 14:34:29 -05:00

20 lines
400 B
JavaScript

// Compile freezer using the (mostly) same webpack config
'use strict';
const path = require('path');
const config = require('./config');
const freezerConfig = {
target: 'node',
entry: './common/freezer',
output: {
path: config.path.output,
filename: 'freezer.js'
},
module: {
rules: [config.typescriptRule],
},
resolve: config.resolve,
};
module.exports = freezerConfig;