We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for the plugin! I am fairly new to scala and play 2 so I apologize if there is an obvious answer to the following questions:
How to I set additional options for the sass compiler?
I tried the following but the options don't seem to get picked up by the compiler
import net.litola.SassPlugin import net.litola.SassPlugin._ object ApplicationBuild extends Build { val main = PlayProject(appName, appVersion, appDependencies, mainLang = SCALA).settings( // Add your own project settings here sassOptions := Seq("--compass","-r", "zurb-foundation") )
I would appreciate any hint.
Thanks for your effort! cheers syfl
The text was updated successfully, but these errors were encountered:
I got it working by adding
net.litola.SassPlugin.sassOptions := Seq("--compass","-r", "zurb-foundation")
to the build.sbt file. Closing this issues then. Anyhow, I would love to know if this is the right way to do it :)
build.sbt
Sorry, something went wrong.
@syfl I got it working using:
import net.litola.SassPlugin object ApplicationBuild extends Build { ... val main = play.Project(appName, appVersion, appDependencies).settings( SassPlugin.sassOptions := Seq("--compass","-r", "zurb-foundation"), SassPlugin.sassEntryPoints <<= (sourceDirectory in Compile)(base => ((base / "assets" ** "*.sass") +++ (base / "assets" ** "*.scss") --- base / "assets" ** "_*")), resourceGenerators in Compile <+= SassPlugin.sassWatcher ) }
Under Play 2.1.0
No branches or pull requests
Thanks for the plugin!
I am fairly new to scala and play 2 so I apologize if there is an obvious answer to the following questions:
How to I set additional options for the sass compiler?
I tried the following but the options don't seem to get picked up by the compiler
I would appreciate any hint.
Thanks for your effort!
cheers
syfl
The text was updated successfully, but these errors were encountered: