I'm not sure if this fits the bill, but I had to handle a situation where a client wanted to be able to modify templates after the release had been built, so the templates had to be in an external folder. See https://github.com/mattflax/dropwizard-views-example for my solution.
I ended up having to duplicate quite a bit of internal DW code, but it's possible these classes have changed to make them easier to extend in more recent versions (the version I built against was 0.9.2, over a year ago). On Tuesday, 25 July 2017 17:22:07 UTC+1, [email protected] wrote: > > Hi, > > I am currently using angular 2 as my web UI framework. Currently > angular-cli build generates the javascript files under dist folder inside > my module. > I would like to pass this dist folder as my asset bundle to dropwizard but > dropwizard AssetBundle looks for assets only under 'src/main/resources'. > > How can I make the 'dist' folder available under the classpath and also > have dropwizard recognise it as an asset bundle? > > Thanks > Kartech > > > > > -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
