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