Skip to content

Instantly share code, notes, and snippets.

@MariusBongarts
Created February 2, 2023 07:24
Show Gist options
  • Save MariusBongarts/f4955081bc03010788f28c8735816910 to your computer and use it in GitHub Desktop.
Save MariusBongarts/f4955081bc03010788f28c8735816910 to your computer and use it in GitHub Desktop.
const path = require("path");
const config = require("./webpack.config");
module.exports = {
...config,
mode: "development",
devServer: {
static: {
directory: path.join(__dirname, "extension"),
},
port: 8080,
},
performance: { hints: false },
output: { ...config.output, publicPath: "/" },
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment