I'm trying to write a glob pattern that matches all files *.*
but not index.html
.
I started with: *.*!(index.html)
, but this doesn't result in the correct output.
I'm reading node-glob documentation.
After looking at this answer
I feel it may not be achievable...?
I don't want to use the exclude option in the glob options, I want to try and do it using the glob pattern alone.