Skip to content

Allow to hide source maps in prod mode (and still show them in dev mode) #5

@smessmer

Description

@smessmer

I want source maps to be available in dev, but not in prod.
If this is not the default behavior you want, you could introduce this as a config option.

Many play apps are using different application.conf for dev and prod. If the availability of source maps could be configured using a key in application.conf, people could easily switch off source maps in prod environment.

I don't mind about the performance of building source maps in prod. I'm fine with always building source maps, but only making them available to the browser if the app is in dev mode.

Metadata

Metadata

Assignees

No one assigned

    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