postmix
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

Postmix

styled with prettier Travis Coveralls

Extending the 80% use case of Laravel Mix with additional functionality.
This package was developed to complement Mix, and as such won't implement functionality already available in Mix. However, it does not depend on Mix, and can be used independently in any kind of application.

Features

  • Image optimization with imagemin
  • Create webp versions of images

Usage

npm install --dev postmix

Then, import and use the library in your mix file:

const { postmix } = require('postmix');
 
postmix.images('resources/assets/images', 'public/images', { webp: true });

Readme

Keywords

none

Package Sidebar

Install

npm i postmix

Weekly Downloads

2

Version

0.0.0

License

MIT

Unpacked Size

41.6 kB

Total Files

9

Last publish

Collaborators

  • elishawitte