Gulp Symlink

screenshot of Gulp Symlink

DEPRECATED. Create symlinks during your gulp build.

Overview

Gulp 4 has brought significant improvements to the way developers can handle symlinks in their build processes. With the introduction of built-in symlink capabilities in Gulp 4, the necessity for additional modules has been reduced, making it simpler to create streams of symlinks directly. This evolution makes file management more efficient, especially for those who rely on consistent structures in their builds.

For those still using Gulp 3.x, transitioning to vinyl-fs is recommended to keep your workflow smooth and effective. This change not only deprecates the older module but also enhances the overall API experience, allowing for more streamlined integration in the build process.

Features

  • Built-in Symlinks: Gulp 4 now includes native symlink support, simplifying symlink creation and management.
  • Flexible Options: You can pass either a string or a function to define the symlink paths, enhancing customization options.
  • Multiple Destination Paths: The symlink function can handle an array of destination paths, providing even greater versatility.
  • Relative and Absolute Links: By default, symlinks are relative, but they can be configured to be absolute through symlink.absolute, accommodating different project needs.
  • Vinyl Integration: The vinyl module is exposed, ensuring developers can utilize file properties easily for new file creation.
  • Community Contributions: Open for pull requests, the project encourages improvements and the addition of unit tests to maintain quality.
gulp
Gulp

Gulp.js is an old but popular site building tool that automates various repetitive development tasks in web development, such as compiling Sass, minifying JavaScript, and optimizing images.