Skip to content

Commit d61317a

Browse files
pradyunsgcholdgraf
authored andcommitted
Enable source map for the generated JS file
1 parent 9df39fa commit d61317a

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)