DEV Community

Cover image for How to add fancy to your Amplify Project

How to add fancy to your Amplify Project

JoLo on October 11, 2021

In this part of the series, we want to make your Amplify project more fancy by adding Typescript to your Amplify functions and/or to turn your func...
Collapse
 
erikash profile image
Erik Ashepa

Thanks for the Post!
I thought giving this a try but was wondering how do you debug the code locally if it's minified?
Would amplify function mock function{1,2} just work with source maps and everything?

Collapse
 
jk171505 profile image
Janusz Krawiec • Edited

I'm confused about function specific package.json's - looks like they are traveling from place to place :)...
How come that you have package.json in functionName1/src1 directory if you moved it to the top-level function dir? - am I missing something?

Collapse
 
jk171505 profile image
Janusz Krawiec

It's worth to note, that amplify pull removes everything except functions folders from function's top-level folder.