forked from mirror/MCSM-Daemon
16 lines
362 B
JavaScript
Executable File
16 lines
362 B
JavaScript
Executable File
/* eslint-disable no-undef */
|
|
const path = require("path");
|
|
const nodeExternals = require("webpack-node-externals");
|
|
|
|
module.exports = {
|
|
mode: "production",
|
|
entry: "./dist/app.js",
|
|
target: "node",
|
|
externalsPresets: { node: true },
|
|
externals: [nodeExternals()],
|
|
output: {
|
|
filename: "app.js",
|
|
path: path.resolve(__dirname, "production")
|
|
}
|
|
};
|