Skip to content

Releases: kaliop/gulp-assets-builder

5.0.0 — Update to gulp@4, gulp-task-maker@2

24 Jul 07:38
Compare
Choose a tag to compare
  • Update to use gulp 4
  • Update to use gulp-task-maker 2
  • Rewrite most of the provided tasks

4.1.0

09 May 20:04
Compare
Choose a tag to compare
  • Update a few tasks
  • Clean up the boilerplate package.json and gulpfile.js
  • Improve (manual) test setup

4.0.0

01 May 19:10
Compare
Choose a tag to compare

3.0.2

23 Mar 18:07
Compare
Choose a tag to compare

Fix an issue where this config resulted in a single task instead of two:

{
  sass: {
    // base settings
    dest: 'public/css',
    browsers: ['last 3 versions', 'ie >= 11'],
    // builds with specific settings
    0: { src: 'assets/styles/main.scss', watch: 'assets/styles/**/*.scss' },
    1: { src: 'assets/styles/other.scss', outputStyle: 'compact' }
  }
}

3.0.1

07 Dec 11:17
Compare
Choose a tag to compare

Fix: missing dependency in Less task

3.0.0

07 Dec 09:05
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Task dependencies are no longer in the package.json by default. On first npm run build, any configured task with missing dependency will print information about the missing tasks, showing the command to install those. This makes it possible to have many task scripts in assets-builder/tasks, without incurring a penalty for the tasks you don’t use.
  • node-notifier is not installed by default, but will be used if it can be required.

New features:

  • Automatically list missing dependencies (using a assets-builder/tasks/taskname.json file as information source).
  • Ignore any config block by adding an underscore at the start of the config name.
  • less task (LESS + Autoprefixer).
  • sass and less tasks can optionally concatenate their results (using a dest config key ending in .css).

2.0.0

10 Oct 18:24
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Renamed gulp dir to assets-builder
  • Config now goes in gulpfile.js by default
  • The assets-builder module must be imported and called with the config object (see gulpfile.js for a working example)

Previously, the package.json scripts were set to use gulp/index.js as a gulpfile, and that script would automagically load the config from a separate file (based on a package.json config key). That was a bit too implicit, hence the new behavior.

Other changes include usability tweaks in logging and notifications.

1.2.0

18 Jul 10:38
Compare
Choose a tag to compare
  • simplify config for multiple builds
  • jsconcat task: opt out of minification with minify:false

Multiple build syntax:

{
  taskname: [
    { build1… },
    { build2… }
  ]
}

or:

{
  taskname: {
    commonOption: 'value',
    0: { build1… },
    1: { build2… }
  ]
}

Previous release (1.1.0) used a builds key instead of arrays/numeric keys.

Enable multiple builds per task

12 Jul 12:25
Compare
Choose a tag to compare
1.1.0

doc(readme): improve doc for svg task, sass task, multiple builds

Yay gulp goodness yay

16 Jun 09:53
Compare
Choose a tag to compare
1.0.0

Looks stable and stuff