ttag-org / ttag

:orange_book: simple approach for javascript localization
https://ttag.js.org/
MIT License
345 stars 43 forks source link

discover for babel-plugin-ttag should skip if has import from other library #175

Open AlexMost opened 5 years ago

AlexMost commented 5 years ago

Discover for babel-plugin-ttag should skip if has import from other library

Consider this ttag conf:

{ discover: ["gettext"] }

This should not be discovered:

import  _ from lodash
_(collection)