Giter VIP home page Giter VIP logo

gulp-starter-2021's Introduction

Starter 2021

Every so ofter I like to look at my build process and see where I can make improvements or changes that are necessary because the code has changed.

For this iteration the changes are:

  • Finally switched to the current recommended method of defining tasks.
    • There are things that don't work with the current system(although the Gulp maintainers say they should) so I will bite the bullet and change it.
  • Moved from the almost unsupported Imagemin plugin go gulp-libsquoosh
    • It has the advantages that supported formats are implemented as WASM libraries so they'll work everywhere
    • The codecs are also bundled with libsquoosh so there's no need to install additional plugins to make it work
  • Moved to markdown-it as the Markdown parser
    • Adding plugins still doesn't work, not sure why. Still researching the issue
  • The syntax for gulp-exec changed so I moved the PDF generation code to the new syntax
  • Another major and unexpected change is that node-sass is deprecated in favor of gulp-sass and the current dart-sass version
    • As a result the sass task has been modified to run with the new gulp-sass in synchronous mode
    • dart-sass is now the normative SASS version and the first one that will receive new features, updates and fixes

Dependencies

  • Prince XML to generate PDFs from HTML
    • Because it's a commericla product I cannot share it. You can download it for evaluation purposes from the website
  • libsquoosh is used internally by gulp-libssquoosh to optimize images
  • markdown-it is used to parse Markdown files

gulp-starter-2021's People

Contributors

caraya avatar actions-user avatar

Stargazers

 avatar Roman avatar

Watchers

James Cloos avatar  avatar Myndex avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.