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
Closed

Add support for '.map' file extension #480

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

Comments

@Marc-Andre-Rivet
Copy link
Contributor

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
Copy link
Contributor Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant