Skip to content
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

Add support for '.map' file extension #480

Closed
Marc-Andre-Rivet opened this issue Dec 6, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@Marc-Andre-Rivet
Copy link
Contributor

commented Dec 6, 2018

As a Dash developer, I find myself wanting (needing) to debug the inner workings of dash components and dash renderer -- since we bundle and uglify with webpack, that is difficult.

Adding support for '.map' extension support (with return type application/json) would allow dash components developers to expose source maps and have access to them at runtime.

@Marc-Andre-Rivet

This comment has been minimized.

Copy link
Contributor Author

commented Dec 6, 2018

After trying this out and talking a bit with @T4rk1n, we need to support dynamic file loading in order for maps not to be loaded / embedded automatically as a <script />.

I'll add a basic dynamic prop support in Dash and later we could add implicit dynamic loading for certain file types (always load css, js, font files by default / but not image, map, etc.). This could be done as part of #481 or as a follow up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.