chore: change webpack devtool option (#170)
This commit is contained in:
committed by
GitHub
parent
0a2326948c
commit
e57bdbbfc4
@@ -2,6 +2,7 @@
|
||||
"name": "chrome-wakatime",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "clap build",
|
||||
"dev": "clap dev",
|
||||
"postinstall": "clap postinstall",
|
||||
"lint": "clap lint",
|
||||
|
||||
@@ -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')],
|
||||
|
||||
Reference in New Issue
Block a user