removing webpack-dev-server, clean up

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2022-01-31 18:19:41 +02:00
1 parent 398af8cc07
commit faaa8034c9
7 files changed
+42 -924

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ import type { Options as TSLoaderOptions } from "ts-loader";
*/
const getTSLoader = (options: Partial<TSLoaderOptions> = {}, testRegExp?: RegExp) => {
testRegExp ??= /\.tsx?$/; // by default covers react/jsx-stuff
options.transpileOnly ??= true; // requirement for "react-refresh-typescript"
options.transpileOnly ??= true;
if (process.env.LENS_DEV_USE_ESBUILD_LOADER === "true") {
console.info(`\n🚀 using esbuild-loader for ts(x)`);
-1
View File
@@ -38,7 +38,6 @@ export const mainDir = path.join(contextDir, "src/main");
export const rendererDir = path.join(contextDir, "src/renderer");
export const htmlTemplate = path.resolve(rendererDir, "template.html");
export const sassCommonVars = path.resolve(rendererDir, "components/vars.scss");
export const webpackDevServerPort = 9009;
// Special runtime paths
defineGlobal("__static", {