chore: change webpack devtool option (#170)

This commit is contained in:
Juan Sebastian velez Posada
2023-02-15 08:34:49 -05:00
committed by GitHub
parent 0a2326948c
commit e57bdbbfc4
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
"name": "chrome-wakatime",
"private": true,
"scripts": {
"build": "clap build",
"dev": "clap dev",
"postinstall": "clap postinstall",
"lint": "clap lint",

View File

@@ -19,7 +19,7 @@ const browserPolyfill = join(
);
const getConfigByBrowser = (isProd: boolean, browser: BrowserTypes): webpack.Configuration => {
const cfg: webpack.Configuration = {
devtool: 'inline-source-map',
devtool: 'source-map',
entry: {
background: [join(srcFolder, 'background.ts')],
devtools: [join(srcFolder, 'devtools.ts')],