mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enbale eval-source-map for development for faster recompiling
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
parent
9ccc9bf790
commit
2413938524
@ -20,7 +20,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
|
||||
return {
|
||||
context: __dirname,
|
||||
target: "electron-renderer",
|
||||
devtool: "source-map", // todo: optimize in dev-mode with webpack.SourceMapDevToolPlugin
|
||||
devtool: isProduction ? "source-map" : "eval-source-map",
|
||||
devServer: {
|
||||
contentBase: buildDir,
|
||||
port: webpackDevServerPort,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user