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

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

Open
smessmer opened this issue Jun 28, 2014 · 2 comments

Comments

@smessmer
Copy link

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.

@smessmer
Copy link
Author

connnected: sbt/sbt-rjs#29

@mkurz
Copy link
Member

mkurz commented Sep 12, 2014

+1

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

2 participants