mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix node-fetch require error on prod build
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
4c632dcd25
commit
9f2c22d2c2
@ -86,11 +86,9 @@ configs.push((): webpack.Configuration => {
|
||||
filename: "preload.js"
|
||||
},
|
||||
resolve: {
|
||||
extensions: [".json", ".js", ".ts"]
|
||||
extensions: [".json", ".js", ".ts"],
|
||||
mainFields: ["main"]
|
||||
},
|
||||
externals: [
|
||||
nodeExternals()
|
||||
],
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user