Skip to content

Add support for '.map' file extension #480

Closed

Description

@Marc-Andre-Rivet

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.

Activity

  1. Marc-Andre-Rivet commented on Dec 6, 2018

    @Marc-Andre-Rivet
    ContributorAuthor

    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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions