Create-react-libary compiling to /dist/src instead of /dist

I am using create-react-library and I noticed that after adding snapshot testing by Jest, my files are compiled to /dist/src. How to change it to only /dist?

package.json:

enter image description here

results:

enter image description here

Leave a Comment