You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this is an issue with sbt-web, or an consequence of my lack of knowlege about sbt-web and sbt-plugin (the context is a Play 2.6 project). I apologize if the latter is the case, though I'd appreciate some help.
Essentially I'm trying to hook a task into the asset generation phase, as described here. It's sbt-webpack, which is defined as an InputTask (not a pipeline stage task).
It's dependent on the webjars, so to my knowlegde this should work:
val foo = TaskKey[Unit]("foo")
foo := { println("now running foo") }
foo in Assets := (foo in Assets).dependsOn(WebKeys.webModules in Assets).value
It does not. What I am looking for is a way to have foo run in any asset generation phase (i.e. assets, stage, dist, run).
The text was updated successfully, but these errors were encountered:
I don't know if this is an issue with sbt-web, or an consequence of my lack of knowlege about
sbt-web
andsbt-plugin
(the context is a Play 2.6 project). I apologize if the latter is the case, though I'd appreciate some help.Essentially I'm trying to hook a task into the asset generation phase, as described here. It's sbt-webpack, which is defined as an
InputTask
(not a pipeline stage task).It's dependent on the webjars, so to my knowlegde this should work:
It does not. What I am looking for is a way to have
foo
run in any asset generation phase (i.e.assets
,stage
,dist
,run
).The text was updated successfully, but these errors were encountered: