mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix: Do not crash when opening details of a helm release
- Switch to using RequestChannel instead of LensProxy for better type safety Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
b7ac14df73
commit
40af0d31c5
30 files changed
+664
-417
No files matched your search
@@ -49,7 +49,7 @@ const webpackLensMain = (): webpack.Configuration => {
|
||||
use: "node-loader",
|
||||
},
|
||||
{
|
||||
test: /\.ts$/,
|
||||
test: (modulePath) => modulePath.endsWith(".ts") && !modulePath.endsWith(".test.ts"),
|
||||
exclude: /node_modules/,
|
||||
use: {
|
||||
loader: "ts-loader",
|
||||
|
||||
@@ -62,7 +62,10 @@ export function webpackLensRenderer(): webpack.Configuration {
|
||||
use: "node-loader",
|
||||
},
|
||||
{
|
||||
test: /\.tsx?$/,
|
||||
test: (modulePath) => (
|
||||
(modulePath.endsWith(".ts") && !modulePath.endsWith(".test.ts"))
|
||||
|| (modulePath.endsWith(".tsx") && !modulePath.endsWith(".test.tsx"))
|
||||
),
|
||||
exclude: /node_modules/,
|
||||
use: {
|
||||
loader: "ts-loader",
|
||||
|
||||
Reference in new issue
Block a user