Skip to content

Commit 8d48699

Browse files
committed
Enable source map for the generated JS file
1 parent a8b38f7 commit 8d48699

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ function macroTemplate({ compilation }) {
8484

8585
module.exports = {
8686
mode: "production",
87+
devtool: "source-map",
8788
entry: {
8889
"pydata-sphinx-theme": [
8990
"./src/pydata_sphinx_theme/assets/scripts/index.js",

0 commit comments

Comments
 (0)