Forum Discussion

cstone's avatar
8 years ago

Customizing build process with Gulp

Hello,

 

I like to add an additional gulp task to the current build process. Specifically, it would be handy to add an autoprefixer such as: https://github.com/postcss/autoprefixer

 

Is there a suggested method for customizing the build process short of forking the lithium-sdk?

 

Alternatively, any guidance on how other communities handle vendor prefixes would also be appreciated!

Thanks

  • The community I work on uses custom mixins to handle every case for a property that requires prefixing. This is an antiquated approach since autoprefixer should be able to handle that out of the box much faster. It would be great to either A.) Be able to modify the gulpfile or B.) Lithium could simply add autoprefixer to the gulpfile automatically. 

    Another random idea I had was to compile all the styles with an npm script and port that all to skin.scss so that could still be consumed by Lithium.