build(proxy_server): cleanup dependencies, add bin entry (#3137)

This commit is contained in:
Erez Rokah
2020-01-25 18:13:32 +02:00
committed by GitHub
parent 34c9c2d16b
commit 7cbb94b919
3 changed files with 11 additions and 35 deletions

View File

@ -1,4 +1,5 @@
const path = require('path');
const webpack = require('webpack');
const nodeExternals = require('webpack-node-externals');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
const { NODE_ENV = 'production' } = process.env;
@ -33,4 +34,5 @@ module.exports = {
modulesDir: path.resolve(__dirname, path.join('..', '..', 'node_modules')),
}),
],
plugins: [new webpack.BannerPlugin({ banner: '#!/usr/bin/env node', raw: true })],
};