mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix win-ca webpack error in open-lens
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
52b738c33d
commit
f5777c0cfc
3 files changed
+9
-5
No files matched your search
@@ -93,10 +93,12 @@ const config = [
|
||||
optimization: {
|
||||
minimize: false,
|
||||
},
|
||||
externals: {
|
||||
...(rendererConfig.externals as any),
|
||||
"monaco-editor": "commonjs monaco-editor",
|
||||
},
|
||||
externals: [
|
||||
...(rendererConfig.externals as any).filter(Boolean),
|
||||
{
|
||||
"monaco-editor": "commonjs monaco-editor",
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
new DefinePlugin({
|
||||
CONTEXT_MATCHER_FOR_NON_FEATURES: `/\\.injectable(\\.${platform})?\\.tsx?$/`,
|
||||
|
||||
@@ -66,6 +66,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
|
||||
externals: [
|
||||
{
|
||||
"node-fetch": "commonjs node-fetch",
|
||||
"win-ca": "commonjs win-ca",
|
||||
},
|
||||
...additionalExternals,
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user