Extending Angular CLI Tasks

I am trying to extend the default CLI tasks of Angular, but I am facing some hurdles. At this point, I am trying to expand it to add two additional tasks:

  • Add Optional Listing for Style Support for CSS linting
  • Add doiuse support so that all styles written support the browsers we need to support

I have tried several things so far, however none of them seem to work. I also looked at the material-2 file angular-cli-build.js and was able to get doiuse to work in a modified version, however it is still problematic and does not catch errors when it finds invalid CSS.

Has anyone had any luck or any tips that they can offer to extend the tasks of the Angular CLI?

+5
source share
1 answer

As stated here , you can extend the construction of the script as ember-cli .

You can also see the ember-cli user guide for built-in configurations that you can use without making any extensions first

+1
source

All Articles