0

I have been using GruntJs to precompile and post process my SCSS/CSS for my JavaScript projects. After working with AngularDart a bit I have been wondering whether there is something like GruntJs for Dart.

The grunt tasks I am currently using are:

  • grunt-contrib-watch
  • gunt-sass
  • grunt-postcss

Is there a task runner for Dart that would provide me the same outcome as GruntJs?

Tobias Marschall
  • 2,355
  • 3
  • 22
  • 40

2 Answers2

1

Build runner should auto re-compile Sass using the scss_builder. https://pub.dartlang.org/packages/sass_builder

There isn't really a concept of postcss in the ecosystem at the moment that I know of.

Ted Sander
  • 1,899
  • 8
  • 11
0

The dart sass compiler is built into the build tool. Using it is rather straight forward.

I also haven't seen anything like postcss in Dart, it doesn't seem to be a need.

Serverplumber
  • 59
  • 1
  • 3