You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
514 B

const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const { merge } = require("webpack-merge");
const nodeExternals = require("webpack-node-externals");
const path = require("path");
const webpack = require("webpack");
const common = require("./webpack.server.common.js");
module.exports = merge(common, {
devtool: "inline-source-map",
entry: [path.join(__dirname, "src/server/server-dev.ts")],
externals: [ nodeExternals(), ],
mode: "development",
plugins: [new CleanWebpackPlugin()],
});