Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding comments header for compiled & optimized files #3563
Labels
Comments
|
For context: we used to have something similar, called In general, we cannot allow injection of arbitrary code. We could consider the injection of comment-only code , though. |
|
Comments alone would already be very helpful to me. The |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding a plain text to the header of a compiled and optimized
.js-file may be useful for multiple reasons:#!/usr/bin/env nodeSuch a plain text header could easily be added to a
.jsin a postprocessing step after compilation. However, if I am not mistaken, the Sourcemap would also have to be remapped. That seems to me like a quite involved chore.This brings me to the following feature request: Would it be possible to add a "headerString" option to the SBT plugin, such that such a header can be added more easily?