formatjs / formatjs-old

The monorepo home to all of the FormatJS related libraries.
https://formatjs.io/
156 stars 53 forks source link

Glob only works with comma in the suffix #517

Closed akmjenkins closed 4 years ago

akmjenkins commented 4 years ago

Which package? @formatjs/cli

Describe the bug

formatjs extract './src/**/*.{js,tx,tsx}' <- works 
formatjs extract './src/**/*.{js,}' <- works
formatjs extract './src/**/*.{js}' <- DOES NOT work
longlho commented 4 years ago

This is a problem with https://github.com/isaacs/node-glob I believe so feel free to submit a GH issue there