mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Move @k8slens/generate-tray-icons to seperate package (#7057)
* Move @k8slens/generate-tray-icons to seperate package Signed-off-by: Sebastian Malton <sebastian@malton.name> * Rename very long folder name to fix issue on windows Signed-off-by: Sebastian Malton <sebastian@malton.name> * Make it possible to build on windows using powershell Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix integration tests on windows Signed-off-by: Sebastian Malton <sebastian@malton.name> * Don't error on close directly Signed-off-by: Sebastian Malton <sebastian@malton.name> * Switch to type: module for generate-tray-icons Signed-off-by: Sebastian Malton <sebastian@malton.name> * Make more packages type:module Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix scripts needing node Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
89b2aab75d
commit
b19e355e0e
90 files changed
+2872
-8119
No files matched your search
@@ -15,7 +15,7 @@
|
||||
import { DefinePlugin } from "webpack";
|
||||
import { assetsFolderName, isDevelopment, rendererDir, buildDir, htmlTemplate, publicPath, sassCommonVars } from "./vars";
|
||||
import { platform } from "process";
|
||||
|
||||
|
||||
const renderer: webpack.Configuration = {
|
||||
target: "electron-renderer",
|
||||
name: "lens-app-renderer",
|
||||
@@ -120,7 +120,7 @@
|
||||
),
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Import icons and image files.
|
||||
* Read more about asset types: https://webpack.js.org/guides/asset-modules/
|
||||
@@ -137,7 +137,7 @@
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Import custom fonts as URL.
|
||||
*/
|
||||
@@ -149,11 +149,11 @@
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
export interface CssModulesWebpackRuleOptions {
|
||||
styleLoader?: string;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Import CSS or SASS styles with modules support (*.module.scss)
|
||||
*/
|
||||
@@ -161,7 +161,7 @@
|
||||
styleLoader ??= isDevelopment
|
||||
? "style-loader"
|
||||
: MiniCssExtractPlugin.loader;
|
||||
|
||||
|
||||
return {
|
||||
test: /\.s?css$/,
|
||||
use: [
|
||||
@@ -180,6 +180,5 @@
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
export default renderer;
|
||||
|
||||
Reference in new issue
Block a user