Does anyone here have ex…

less than 1 minute read

Does anyone here have experience building Nx plugins? :simple_smile: I’m trying to figure out if there is there a reliable way of detecting if a React app or lib was generated with --js without iterating over every file associated with that project. I’m working on a migration that adds a new file, and I would like to convert to JS if needed. workspace.json doesn’t seem to have concrete info on this (I could go off of projects/{project}/architect/build/options/main and check if that’s a .js or .tsx, but there’s no good equivalent for libs, and it also feels a bit fragile).

Responses:

If you generate one lib with –js and one without what are the differences in files generated?

Updated: