Open thethomaseffect opened 5 years ago
right - that's a very clever idea.
i mean, maybe it could also grab anything inside scripts.build
, and throw some flags on the end?
I agree that this could be a lot smarter, or at minimum, have a bunch of flags for various javascript features.
It's been cool to see people use this library. I fully just built it for myself, and now maybe we should think how it should have been written in the first place.
Open to anything!
We use TypeORM and get the following when attempting to use the tool:
SyntaxError: Unexpected character '@' (6:0)
, the line in question being@EntityRepository(Tokens)
. Not sure if adding features on a case-by-case basis or attempting to so the compilation using project's babel configuration is the best solution