Skip to content

Releases: ym-project/gulp-esbuild

v0.15.0

Choose a tag to compare

@ym-project ym-project released this 31 May 15:16
⚠️ This release contains backwards-incompatible changes ⚠️

Now plugin has only named imports (previously there was default import):

- import gulpEsbuild, { createGulpEsbuild } from 'gulp-esbuild'
+ import { gulpEsbuild, createGulpEsbuild } from 'gulp-esbuild'

Also you need to pass entryPoints always:

- src('./src/**.js').pipe(gulpEsbuild()).dest(dist('./dist'));
+ src('./src/**.js').pipe(gulpEsbuild({ entryPoints: ['src/entry.js'] })).dest(dist('./dist'));

Why?
Previous version of the plugin had behavior: every gulp's virtual file was esbuild's entryPoint. It means the plugin set entryPoints itself. But it has limitations to works with virtual files correctly.
For example we have 3 virtual files and one entryPoint which import other two files. If we had 3 separate entrypoints, we would get 3 separate output files, not one that includes the other 2.

Be sure, another gulp's libraries for webpack, rollup, ... do the same.

What's Changed

Full Changelog: v0.14.1...v0.15.0

v0.14.1

Choose a tag to compare

@ym-project ym-project released this 06 Aug 08:02

🙏 Thanks @lkubb for the contribution

Changes

  • chore(deps-dev): bump esbuild from 0.24.0 to 0.25.0 by @dependabot[bot] in #29
  • fix(#30): 🐛 incremental build does not update streamed file contents by @ym-project in #31

Full Changelog: v0.14.0...v0.14.1

v0.14.0

Choose a tag to compare

@ym-project ym-project released this 05 Dec 19:28
⚠️ This release contains esbuild backwards-incompatible changes ⚠️

Esbuild moved to peerDependencies. Now you should install esbuild yourself:

npm i esbuild gulp-esbuild

What's Changed

Full Changelog: v0.13.0...v0.14.0

v0.13.0

Choose a tag to compare

@ym-project ym-project released this 28 Nov 18:55
⚠️ This release contains esbuild backwards-incompatible changes ⚠️

Removed pipe flag. Now plugin works with both file system files and virtual files by default.
Previous code:

const { createGulpEsbuild } = require('gulp-esbuild);
const gulpEsbuild = createGulpEsbuild({ pipe: true });
// ...
// ...
src(...).pipe(gulpEsbuild(...))

Current code:

const gulpEsbuild = require('gulp-esbuild');
// ...
// ...
src(...).pipe(gulpEsbuild(...))

What's Changed

Full Changelog: v0.12.1...v0.13.0

v.0.12.1

Choose a tag to compare

@ym-project ym-project released this 13 Jun 14:56

v0.11.2

Choose a tag to compare

@ym-project ym-project released this 24 Jun 15:35

Changes

  • deps: update dependencies
  • docs: add changes according to the esbuild changes

Esbuild release notes

v0.11.1

Choose a tag to compare

@ym-project ym-project released this 05 Mar 07:49

Changes

  • deps: update dependencies
  • chore: add changes according to the esbuild releases

Esbuild release notes

v0.11.0

Choose a tag to compare

@ym-project ym-project released this 26 Dec 08:25
⚠️ This release contains esbuild backwards-incompatible changes ⚠️

Changes

  • docs: add new options
  • deps: update dependencies

Esbuild release notes

v0.10.8

Choose a tag to compare

@ym-project ym-project released this 25 Dec 09:18

Changes

  • fix(#11): give preference to user's outfile option

v0.10.7

Choose a tag to compare

@ym-project ym-project released this 07 Dec 10:07

🙏 Thanks @manuth for the contribution

Changes

  • fix(#17): fix type declarations for ES module
  • fix(#17): allow more useful types to be imported