Open taozhou-glean opened 1 year ago
I think the issue might be a more about dynamic import, for more context, this is for making it work with lingui, an i18n framework, https://js-lingui-qmrh9gqtf-lingui.vercel.app/guides/dynamic-loading-catalogs, looks like the dynamic import is the problem: web/data/${locale}/message
my folder structure looks like following:
and with tsconfig setting the right path for
web/*: ["./web/*"]
, I am gettingModule not found: Error: Can't resolve 'web/data
infor usage like
import {} from "web/data/xxx". But switch to use
alias` does work just fine, so it seems that the plugin does not work great with symlinks