symlink-files
v0.1.0
Published
Symlink files (keeping the directory structure) during your build.
Downloads
2
Readme
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)