build fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2023-01-11 13:42:53 +02:00
1 parent 0b10f24d2b
commit 0b74cf8c6b
13 files changed
+183 -365

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ const server = new WebpackDevServer({
headers: {
"Access-Control-Allow-Origin": "*",
},
allowedHosts: "127.0.0.1",
allowedHosts: ".lens.app",
host: "localhost",
port: webpackDevServerPort,
static: buildDir, // aka `devServer.contentBase` in webpack@4
+4 -4
View File
@@ -49,10 +49,10 @@
".ts", ".tsx",
],
},
externals: {
"node-fetch": "commonjs node-fetch",
"npm": "commonjs npm",
},
externals: [
"node-fetch",
"npm",
],
optimization: {
minimize: false,
},