sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.87k stars 135 forks source link

include only certain files from node_modules #349

Closed skylite21 closed 1 year ago

skylite21 commented 6 years ago

my .surgeignore file contains this:

!node_modules/jquery/dist/jquery.min.js
!node_modules/popper.js/dist/umd/popper.min.js
!node_modules/bootstrap/dist/js/bootstrap.min.js
!node_modules/font-awesome/css/font-awesome.min.css
!node_modules/bootstrap/dist/css/bootstrap.min.css

But still my whole node_modules folder is uploaded. Is there a way to avoid that and only upload the files I need inside node_modules? (without using any bundler, or task runner to copy them to somewhere else, or bundle them...)