symlink-files

0.1.0 • Public • Published

symlink-files

Symlink files (keeping the directory structure) during your build.

Installation

npm install symlink-files

Usage

symlink_files("./client/**/*.!(js|html|css)", "./client", "./build", {}, callback);

Works with gulp.

gulp.task("link", function (cb)
{
    symlink_files("./client/**/*.!(js|html|css)", "./client", "./build", {}, callback);
});

Parameters

symlink_files(glob, client_path, build_path, [options,] callback)

Options

Options is an object with the following possible properties.

    rel     Whether to create relative symlinks or absolute (default: false)

Readme

Keywords

none

Package Sidebar

Install

npm i symlink-files

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • nmrugg