Reputation: 6669
I am trying compile less files in a "project-module" that has a playframework 2.3.8. I am not sure if this is possible? In other projects less files seems are compiling when I hit the url of the project.
This case is different because is not a project on its own, is a module.
Has anyone faced something similar?
One workaround is to install less from npm and compile the files with the command lessc
.
Thank you
Upvotes: 0
Views: 45
Reputation: 11508
Add .enablePlugins(SbtWeb)
at the end of your module definition in the root project. E.g.:
lazy val admin = (project in file("modules/admin")).enablePlugins(SbtWeb)
Upvotes: 1