0.1.0 • Published 12 years ago
symlink-files
Licence
MIT
Version
0.1.0
Deps
3
Vulns
0
Weekly
0
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)