20 lines
400 B
JavaScript
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;
|