0.0.4 • Published 2 years ago
inline-image-transformer v0.0.4
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',
}
}