0.0.4 • Published 2 years ago

inline-image-transformer v0.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

inline-image-transformer

Jest file transform to inline source

Usage

Install inline-image-transformer

npm install inline-image-transformer

In jest.config.ts or jest.config.js, add inline-image-transformer to transform, such as:

export default {
  transform: {
    '\\.(jpg|jpeg|png|gif)$':
      'inline-image-transformer',
  }
}