I followed the instructions https://github.com/jlitola/play-sass . My .sbt plugins read (for the last two lines)
resolvers += "Sonatype OSS Releases" at "https://oss.sonatype.org/content/repositories/releases" addSbtPlugin("net.litola" % "play-sass" % "0.3.0")`
For build.sbt, I previously had SassPlugin.sassSettings in the last line (separate from playScalaSettings). Now I changed it to
net.litola.SassPlugin.sassSettings + play.Project.playScalaSettings
However, I still can't get this to work :-). My files are in
app/assets/first.scss
app/assets/stylesheets/second.scss
app/assets/styles/third.scss
app/assets/style/fourth.scss
(EDIT: delibrerately different, so I know which one works), however, I don't see any css result. scss and sass work fine from the command line.
It seems that the changes in plugins.sbt and build.sbt are recognized by the game, because when I intentionally add a typo, SassPlugin.sassSetting instead of SassPlugin.sassSettings , reloading updates the error, which is fixed when I correct the typo back. Does anyone know what I'm doing wrong?
EDIT: I am in play2.2 btw.
source share