1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Remove context: __dirname as its the default

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen 2020-12-14 14:36:09 +08:00
parent cb1a3bc80d
commit ba6acfb20a
No known key found for this signature in database
GPG Key ID: A28B7834EFA73792
2 changed files with 0 additions and 2 deletions

View File

@ -9,7 +9,6 @@ export default function (): webpack.Configuration {
console.info("WEBPACK:main", vars); console.info("WEBPACK:main", vars);
return { return {
context: __dirname,
target: "electron-main", target: "electron-main",
mode: isProduction ? "production" : "development", mode: isProduction ? "production" : "development",
devtool: isProduction ? "source-map" : "eval-source-map", devtool: isProduction ? "source-map" : "eval-source-map",

View File

@ -18,7 +18,6 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
} }
return { return {
context: __dirname,
target: "electron-renderer", target: "electron-renderer",
devtool: isProduction ? "source-map" : "eval-source-map", devtool: isProduction ? "source-map" : "eval-source-map",
// ignore because there is no @types/webpack-dev-server for v4 yet // ignore because there is no @types/webpack-dev-server for v4 yet