Skip to content

hom/inline-image-transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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',
  }
}

About

Jest file transform to inline source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published