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:
parent
cb1a3bc80d
commit
ba6acfb20a
@ -9,7 +9,6 @@ export default function (): webpack.Configuration {
|
||||
console.info("WEBPACK:main", vars);
|
||||
|
||||
return {
|
||||
context: __dirname,
|
||||
target: "electron-main",
|
||||
mode: isProduction ? "production" : "development",
|
||||
devtool: isProduction ? "source-map" : "eval-source-map",
|
||||
|
||||
@ -18,7 +18,6 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
|
||||
}
|
||||
|
||||
return {
|
||||
context: __dirname,
|
||||
target: "electron-renderer",
|
||||
devtool: isProduction ? "source-map" : "eval-source-map",
|
||||
// ignore because there is no @types/webpack-dev-server for v4 yet
|
||||
|
||||
Loading…
Reference in New Issue
Block a user