inline-image-transformer

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i inline-image-transformer

Weekly Downloads

1

Version

0.0.4

License

ISC

Unpacked Size

2.13 kB

Total Files

4

Last publish

Collaborators

  • mengj