hubs-ops/arbortect/webpack.config.js

16 строки
401 B
JavaScript
Исходник Постоянная ссылка Обычный вид История

2020-04-24 19:54:49 +03:00
const path = require('path');
const nodeExternals = require('webpack-node-externals');
module.exports = {
entry: './bin/run',
target: 'node',
output: {
path: path.join(__dirname, 'dist'),
filename: 'arbortect'
},
// we can't bundle all the deps because they include binaries, e.g. pg-native,
// so we just ship the node_modules directory intact
externals: [nodeExternals()]
};