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.
 
 
 
 

18 lines
568 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.smart(common, {
devtool: "inline-source-map",
entry: [path.join(__dirname, "src/server/server-dev.ts")],
externals: [ nodeExternals(), ],
mode: "development",
plugins: [new CleanWebpackPlugin()],
node: {
__dirname: true
}
});