Skip to content

Decamelize tasks created by ES module exports #2270

Description

@coreyfarrell

What were you expecting to happen?
ES modules cannot export names with dashes so I was expecting (hoping) camel case exports could be converted to dashed names (so npx gulp test-local with sample gulpfile). I know decamelizing would be a breaking change so I can understand if this cannot happen, just figured I'd post in case this would be acceptable for @next.

What actually happened?
All exports become tasks without modification of naming.

Please post a sample of your gulpfile (preferably reduced to just the bit that's not working)

export function testLocal() { return Promise.resolve(); }

What version of gulp are you using?
gulp@4

What versions of npm and node are you using?
npm: 6.4.1
node: 10.11.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions