Testing of the apollo react (hooks based) client with the Haunted webcomponents library.
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
459 B

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