WIP Extract or duplicate more functionalities of Cluster Overview from the monolith to a Feature

Co-authored-by: Juho Heikka <juho.heikka@gmail.com>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-tursoandJuho Heikka committed 2023-03-20 16:34:42 +02:00
1 parent a6ef3ef80e
commit 89aa83a918
86 files changed
+4352 -196

No files matched your search

@@ -1,9 +1,11 @@
const getNodeConfig = require("./get-node-config");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");
const path = require("path");
// hack: hard-coded
const sassCommonVars = "/Users/maspiala/work/lens/packages/core/src/renderer";
const sassCommonVars =
"/Users/maspiala/work/lens/packages/core/src/renderer/components/vars.scss";
module.exports =
({ miniCssExtractPluginLoader = MiniCssExtractPlugin.loader } = {}) =>
@@ -22,6 +24,13 @@ module.exports =
new MiniCssExtractPlugin({
filename: "[name].css",
}),
// see also: https://github.com/Microsoft/monaco-editor-webpack-plugin#options
new MonacoWebpackPlugin({
languages: ["json", "yaml"],
// Hack: should be true only for development.
globalAPI: true
}),
],
module: {
@@ -55,7 +64,8 @@ module.exports =
options: {
sourceMap: false,
postcssOptions: {
plugins: ["tailwindcss"],
// hack: commented
// plugins: ["tailwindcss"],
},
},
},