-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Un-minified bundled js #6104
Comments
Hi @mmkal, we publish the source maps so that should be good enough? See https://unpkg.com/[email protected]/dist/netlify-cms.js.map |
@erezrokah interesting, maybe I have chrome misconfigured. I'll look into making it load the source maps. Although, even with source maps, it still can't be as convenient, or as well supported by all tools (chrome dev tools, Firefox dev tools, vscode, plaintext editors, vim via ssh on some server somewhere). I don't really see the downside to publishing both versions. Most libraries do it 🙃 |
Yes, I agree. Would you like to submit a PR for it? |
Fixes decaporg#6104 (if it works)
Fixes decaporg#6104 (if it works)
@erezrokah see the commit above for a first pass. Does that look like it's roughly right? |
Won't mmkal@45663be#diff-a393479db8dc8b6868eef8f5fa99c576654d75fb00336dc82c2be71789c6d4dfR86 create |
Yes you are right, just an oversight on my part. I'll fix and open a draft PR, it'll be easier to talk there. |
Is your feature request related to a problem? Please describe.
Often I find myself looking at call stacks like this:
And it's usually because I've done something stupid, but netlify-cms is not being very helpful in my attempt to figure out what I did.
Describe the solution you'd like
Two
.js
outputs in the dist folder of thenetlify-cms
package (ideally, also the various other packages likenetlify-cms-app
etc. butnetlify-cms
would be a good start). Similar to js-yaml:Then the docs could be updated to refer to
index.min.js
instead ofindex.js
. Or, to avoid accidentally expanding bundle sizes, they could be namedindex.js
andindex.unminified.js
.The text was updated successfully, but these errors were encountered: