-
Notifications
You must be signed in to change notification settings - Fork 26
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
Failed to generate single outFile #1
Comments
Thanks for the report. It's going to be a bit tricky to get this solved. It looks like the built-in jsengine tasks aren't well suited for this kind of task (multiple source files to generate a single output file). I'm going to have to think about how to make this work. If you have any ideas, please let me know. |
I'm not really into it. But it looks like the sbt-concat-plugin does something similar. Maybe you can have a look there. |
You can use both sbt-concat and this plugin to generate the single js file you want. |
@1tchy Are you still wanting this feature? With the work done on 0.1.5 I think it's now possible to do it, but I'd rather not spend time on the feature if nobody will use it. |
Thanks for asking. I would have used it for a specific project, however this project is done and so I currently have no more need for this. |
This would be a very useful feature. Do you have an idea what needs to be done? I can add a helping hand. |
Today's the 1st birthday of this issue! 🍰 |
Yay!!!! 🍰 |
- All input files now point to the same output file - Added `AllowJS` compiler flag, as this is useful for projects using outFile - Added `typingsFile` option to allow typings files to be written for older JS code being included in the single file output
* Fixed single outFile generation (#1) - All input files now point to the same output file - Added `AllowJS` compiler flag, as this is useful for projects using outFile - Added `typingsFile` option to allow typings files to be written for older JS code being included in the single file output * Added scripted test for single-outfile fixes
The option
outFile
doesn't seem to create the expected single JS-file.Although if this option is specified, all other JS-files are not created.
Following you can find an example based on the "complicated"-Test:
build.sbt:
test:
The text was updated successfully, but these errors were encountered: