Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

v3.2.0

Choose a tag to compare

@cyrale cyrale released this 02 Jan 13:23

New

  • A block could be defined as critical in SASS files by using @critical { ... }.
  • Image could be converted to WebP by adding webp: true to settings of tasks.
  • Lint task exits now with error code, useful in CI/CD context.
  • New flags to deactivate favicon and lint tasks: --no-favicon and --no-lint.
  • Sourcemaps works now! Add --sourcemaps or --sourcemap-files to the command line.
  • New typescript tasks to package TypeScript files.

Improvement

  • Update packages to the last versions.
  • Remove and replace packages to have the least possible.
  • Load only necessary modules and display the progression.
  • Replace node-sass by dart-sass to take advantage of the latest updates.
  • Sort files when sizes were displayed.
  • Replace deprecated UglifyJS by Terser.
  • Replace deprecated TSLint by ESLint.
  • Webpack works when more than one task is defined.

Breaking changes

  • critical: this is not longer propagate to its children (it works only in main file), it was replace by @critical
    rule.