How to define an external "builder" tool for Dart using sbt / play 2.0?

Currently Play2.0 supports coffee script in javascript and less in css out of the box in the / app / assets directory.

Is there a way to get similar functionality (presumably through the sbt setting inside play 2.0) for the dart? If this is done correctly, this will cause the output of frogc (or dart2js) js to be available programmatically in the assets, but, of course, it really is in resource_managed.

+6
source share
1 answer

I remembered that this was brought up on the Google Group Play some time ago, as well as a quick search. It seems someone got this job

https://github.com/nelsonsilva/Play20/commit/b365ca56aa285355752d39487fc38a40ad88be5e

based on this conversion .

There is no real module for this yet, though (as of 05/22/2012).

+4
source

Source: https://habr.com/ru/post/916244/


All Articles