Skip to content

Commit e83f39e

Browse files
committed
Source maps are too useful to not be included
1 parent 11b8c5d commit e83f39e

File tree

6 files changed

+5
-11
lines changed

6 files changed

+5
-11
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ repos:
1313
- id: end-of-file-fixer
1414
- id: mixed-line-ending
1515
- id: trailing-whitespace
16-
- repo: local
17-
hooks:
18-
- id: forbid-sourcemap
19-
name: Check for sourceMappingURL
20-
description: Ensures no files containing sourceMappingURL are committed
21-
entry: sourceMappingURL
22-
language: pygrep
23-
types_or: [javascript, css]
2416
- repo: https://github.com/adamchainz/django-upgrade
2517
rev: 1.24.0
2618
hooks:

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Next version
1818
inserted or not. Same for the horizontal rule menu button.
1919
- Added styles to selected nodes so that e.g. selected horizontal rules are
2020
shown as such.
21+
- Started including source maps again.
2122

2223

2324
0.11 (2025-04-16)

django_prose_editor/static/django_prose_editor/editor.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

django_prose_editor/static/django_prose_editor/editor.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

django_prose_editor/static/django_prose_editor/overrides.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esbuild.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ const ctx = await esbuild.context({
2424
},
2525
],
2626
outdir: "django_prose_editor/static/django_prose_editor/",
27-
// I really like sourcemaps, but I don't want to distribute them here.
28-
// People can check the open source package after all.
29-
sourcemap: devMode,
27+
sourcemap: true,
3028
})
3129

3230
if (devMode) {

0 commit comments

Comments
 (0)