msurdi / frontend-dependencies

Copies node packages to a directory where your frontend tools will be able to find them
24 stars 5 forks source link

Feature Request: copy multiple files to multiple targets #19

Open FelixFurtmayr opened 4 years ago

FelixFurtmayr commented 4 years ago

Could look like this in the options:

      "jquery": {               
          "version": "3.1.0", 
          "files": [{
             "src": "dist/*"
             "target": "test"
         }]
      },

Usecase: Now you are able to store common backend and frontend code into any folder you like from one npm module.

The issue is currently for documentation as I might implement it.

jimbrew commented 4 years ago

I think this would be handy as with packages like bootstrap it has css and js files.

so I would want to copy the js into dest/js and css into dest/css.