For more detailed info check my blog post https://www.grzegorowski.com/custom-jest-transformer
First install dependencies:
npm installTo create a production build:
npm run build-prodTo create a development build:
npm run build-devnode dist/bundle.jsnpm run testMIT
author: Jan Grzegorowski