@packmule/image-optimization-pack
Packmule pack to optimize image files.
Last updated 8 months ago by thasmo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @packmule/image-optimization-pack 
SYNC missed versions from official npm registry.

Image Optimization Pack

Optimize images using imagemin.

Image Optimization Pack uses image-webpack-loader to optimize images.

Setup

npm install --save-dev @packmule/image-optimization-pack

API

ImageOptimizationPack()
    .include(glob: string)
    .to(path: string)

Options

  • optimize - Controls whether image-webpack-loader optimizes images or not.

Usage

Example

Optimize images.

import Packmule from '@packmule/core';
import ImageOptimizationPack from '@packmule/image-optimization-pack';

const packmule = new Packmule();
packmule.register(new ImageOptimizationPack().include('assets/images/**').to('images/'));
return packmule.generate();

License

MIT


Current Tags

  • 2.0.1-nightly.242                                ...           latest (8 months ago)
  • 2.0.1-nightly.386                                ...           nightly (15 days ago)

44 Versions

  • 2.0.1-nightly.386                                ...           15 days ago
  • 2.0.1-nightly.375                                ...           22 days ago
  • 2.0.1-nightly.373                                ...           a month ago
  • 2.0.1-nightly.372                                ...           a month ago
  • 2.0.1-nightly.371                                ...           a month ago
  • 2.0.1-nightly.370                                ...           2 months ago
  • 2.0.1-nightly.369                                ...           2 months ago
  • 2.0.1-nightly.368                                ...           2 months ago
  • 2.0.1-nightly.364                                ...           2 months ago
  • 2.0.1-nightly.363                                ...           2 months ago
  • 2.0.1-nightly.362                                ...           2 months ago
  • 2.0.1-nightly.360                                ...           2 months ago
  • 2.0.1-nightly.358                                ...           2 months ago
  • 2.0.1-nightly.357                                ...           3 months ago
  • 2.0.1-nightly.355                                ...           4 months ago
  • 2.0.1-nightly.353                                ...           4 months ago
  • 2.0.1-nightly.352                                ...           4 months ago
  • 2.0.1-nightly.346                                ...           5 months ago
  • 2.0.1-nightly.342                                ...           5 months ago
  • 2.0.1-nightly.341                                ...           5 months ago
  • 2.0.1-nightly.339                                ...           5 months ago
  • 2.0.1-nightly.328                                ...           6 months ago
  • 2.0.1-nightly.327                                ...           6 months ago
  • 2.0.1-nightly.325                                ...           6 months ago
  • 2.0.1-nightly.316                                ...           7 months ago
  • 2.0.1-nightly.314                                ...           7 months ago
  • 2.0.1-nightly.310                                ...           7 months ago
  • 2.0.1-nightly.301                                ...           7 months ago
  • 2.0.1-nightly.300                                ...           7 months ago
  • 2.0.1-nightly.295                                ...           7 months ago
  • 2.0.1-nightly.293                                ...           7 months ago
  • 2.0.1-nightly.287                                ...           7 months ago
  • 2.0.1-nightly.286                                ...           7 months ago
  • 2.0.1-nightly.283                                ...           7 months ago
  • 2.0.1-nightly.281                                ...           7 months ago
  • 2.0.1-nightly.280                                ...           8 months ago
  • 2.0.1-nightly.271                                ...           8 months ago
  • 2.0.1-nightly.263                                ...           8 months ago
  • 2.0.1-nightly.257                                ...           8 months ago
  • 2.0.1-nightly.255                                ...           8 months ago
  • 2.0.1-nightly.253                                ...           8 months ago
  • 2.0.1-nightly.251                                ...           8 months ago
  • 2.0.1-nightly.247                                ...           8 months ago
  • 2.0.1-nightly.242                                ...           8 months ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 42
Last Day 0
Last Week 0
Last Month 60
Dependencies (5)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |