Skip to content

surunzi/link-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

link-all

Symlink files togother.

Install

npm install -g link-all

Usage

Inside your project folder, create a file named linkfile.js:

module.exports = {
    // The key is target folder, the value is the file you want to symlink into it.
    'moduleA': [
        'js/moduleA.js:moduleB.js',
        // If you want to change the filename, append it after ":"
        'css/moduleA.css',
        'html/moduleA.html'
    ]
};

Run command linkall, it's going to create a moduleA folder containing three files from different directory.

About

Symlink files togother

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published