I've been struggling for the past hour to get connect-assetmanager working with subfolders without any success.
I'm basically trying to get all JS files inside my javascriptsfolder and subfolders as javascripts/controllers or javascripts/models.
So I have this path:
'path': __dirname + '/javascripts/',
And trying to use a regular expression like this:
'files': [/[a-z]+\/[a-z]+\.js/]
It always returns
No match for ...
I've been looking over the code and apparently this can't work with subfolders as I would expect it. If anyone is still looking over those issues and have a solution, I would really appreciate it since there's no alternative today to connect-assetmanager.
Hey guys,
I've been struggling for the past hour to get connect-assetmanager working with subfolders without any success. I'm basically trying to get all JS files inside my
javascripts
folder and subfolders asjavascripts/controllers
orjavascripts/models
.So I have this path:
And trying to use a regular expression like this:
It always returns
I've been looking over the code and apparently this can't work with subfolders as I would expect it. If anyone is still looking over those issues and have a solution, I would really appreciate it since there's no alternative today to connect-assetmanager.
Thanks