Skip to content

mode: 'expand' ignores resolve functions #21

@michael-brade

Description

@michael-brade

I am doing this:

require('./i18n/*.js', {mode: 'expand', resolve: 'strip-ext'});

but this still keeps the .js in the generated require calls. I know that not all resolve functions would make sense with expand, but this one does. I need it because later I just require('./i18n/en'), which cannot find the module.

thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions