2017-11-30 04:26:27 +00:00
|
|
|
// Compile freezer using the (mostly) same webpack config
|
|
|
|
'use strict';
|
2018-01-22 23:38:06 +00:00
|
|
|
const path = require('path');
|
|
|
|
const config = require('./config');
|
2017-11-30 04:26:27 +00:00
|
|
|
|
2018-01-22 23:38:06 +00:00
|
|
|
const freezerConfig = {
|
|
|
|
target: 'node',
|
2018-04-05 20:53:36 +00:00
|
|
|
mode: 'development',
|
2018-01-22 23:38:06 +00:00
|
|
|
entry: './common/freezer',
|
|
|
|
output: {
|
|
|
|
path: config.path.output,
|
|
|
|
filename: 'freezer.js'
|
|
|
|
},
|
2017-11-30 04:26:27 +00:00
|
|
|
module: {
|
2018-01-22 23:38:06 +00:00
|
|
|
rules: [config.typescriptRule],
|
2017-11-30 04:26:27 +00:00
|
|
|
},
|
2018-01-22 23:38:06 +00:00
|
|
|
resolve: config.resolve,
|
|
|
|
};
|
2017-11-30 04:26:27 +00:00
|
|
|
|
|
|
|
module.exports = freezerConfig;
|