aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-06-22 13:21:15 -0400
committerAjay <[email protected]>2022-06-22 13:21:15 -0400
commit6b4da2584784645f0b723db8451e340a02cdf247 (patch)
treec8710e3dd60f0ab0c249e328b3947c2ec45d17bd /webpack
parent529db4d6ca67cecf9a76f52065ceba7fb8c5c94f (diff)
downloadSponsorBlock-6b4da2584784645f0b723db8451e340a02cdf247.tar.gz
SponsorBlock-6b4da2584784645f0b723db8451e340a02cdf247.zip
Create source maps in dev
Diffstat (limited to 'webpack')
-rw-r--r--webpack/webpack.common.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js
index 4f751af2..076f90af 100644
--- a/webpack/webpack.common.js
+++ b/webpack/webpack.common.js
@@ -53,7 +53,8 @@ export default env => ({
exclude: /node_modules/,
options: {
// disable type checker for user in fork plugin
- transpileOnly: true
+ transpileOnly: true,
+ configFile: env.mode === "production" ? "tsconfig-production.json" : "tsconfig.json"
}
}
]