Skip to content

Subfolders and regular expressions don't work together #47

@bnetter

Description

@bnetter

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 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.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions