mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
build fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
0b10f24d2b
commit
0b74cf8c6b
13 files changed
+183
-365
No files matched your search
@@ -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
|
||||
|
||||
@@ -49,10 +49,10 @@
|
||||
".ts", ".tsx",
|
||||
],
|
||||
},
|
||||
externals: {
|
||||
"node-fetch": "commonjs node-fetch",
|
||||
"npm": "commonjs npm",
|
||||
},
|
||||
externals: [
|
||||
"node-fetch",
|
||||
"npm",
|
||||
],
|
||||
optimization: {
|
||||
minimize: false,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user