Version: 0.0.10.0.20.0.30.0.40.0.50.0.60.0.70.0.80.0.90.0.100.1.00.1.10.1.20.1.30.1.40.1.50.1.60.1.70.1.80.1.90.1.100.1.110.1.120.1.130.1.140.2.00.2.10.2.20.2.30.2.40.2.50.2.60.2.70.2.80.2.90.2.100.2.110.2.120.2.130.2.140.2.150.2.160.2.170.2.180.2.190.2.200.2.210.2.220.2.230.2.240.2.260.2.270.2.280.2.290.2.300.2.310.2.320.2.330.2.340.2.350.2.360.2.370.2.380.2.390.2.400.2.410.2.420.2.430.2.440.2.450.2.460.2.470.2.480.2.490.2.500.2.520.2.530.2.540.2.550.2.560.2.570.2.580.2.590.2.600.2.620.2.630.2.640.3.00.3.10.3.20.3.30.3.40.3.50.3.60.3.70.3.80.3.90.3.100.3.110.3.120.3.130.3.140.3.150.3.160.3.170.3.180.3.190.3.200.3.210.3.220.3.230.3.24
const path = require('path');
const nodeExternals = require('webpack-node-externals');
module.exports = {
devtool: 'source-map',
entry: './server.js',
target: 'node',
externals: [
nodeExternals(),
],
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: [
loader: 'babel-loader',
},
output: {
library: 'AceApiServer',
libraryTarget: 'umd',
path: path.join(__dirname, 'dist'),
filename: 'ace-api-server.js',
};