Is there a way to ignore everything except for a folder and it's contents for a bower library. I tried something like this but it didn't work
"ignore": [
"./!(dist)"
]
My folder structure looks like this and I only want to distribute the dist
folder.
/dist
myLibrary.js
myLibrary.min.js
/src
...
/node_modules
...
package.json
bower.json
...
You should use the following ignore patterns:
"ignore": [
"*",
"!dist/",
"!dist/*"
]
Notice you need the first pattern in order to first ignore everything.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With