mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Eslint fixes in webpack files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
ea30433b9d
commit
19d21608f7
@ -6,6 +6,7 @@ import { sassCommonVars } from "./src/common/vars";
|
||||
export default function (): webpack.Configuration {
|
||||
const entry = "./src/extensions/extension-api.ts";
|
||||
const outDir = "./src/extensions/npm/extensions/dist";
|
||||
|
||||
return {
|
||||
// Compile for Electron for renderer process
|
||||
// see <https://webpack.js.org/configuration/target/>
|
||||
|
||||
@ -8,6 +8,7 @@ import * as vars from "./src/common/vars";
|
||||
|
||||
export default function (): webpack.Configuration {
|
||||
console.info("WEBPACK:main", vars);
|
||||
|
||||
return {
|
||||
context: __dirname,
|
||||
target: "electron-main",
|
||||
|
||||
@ -17,6 +17,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
|
||||
if (showVars) {
|
||||
console.info("WEBPACK:renderer", vars);
|
||||
}
|
||||
|
||||
return {
|
||||
context: __dirname,
|
||||
target: "electron-renderer",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user