0.8.0 • Published 4 years ago

@akqa-frontline/image-config-webpack-plugin v0.8.0

Weekly downloads
16
License
ISC
Repository
-
Last release
4 years ago

@akqa-frontline/image-config-webpack-plugin

GitHub npm (scoped)

this package is not yet fully documented

Image configuration for webpack.

What does it do

This package lets you use image assets in your JS and (S)CSS files.

Notable features

  • Inline SVG files
  • Base64 encodes images less than 10kb

Install

Install this package and its peer dependencies:

npm install --save-dev --save-exact @akqa-frontline/image-config-webpack-plugin
npm install --save-dev --save-exact webpack

Usage

Add the plugin to your webpack configuration

// webpack.config.js

const {FrontlineImageConfigWebpackPlugin} = require("@akqa-frontline/image-config-webpack-plugin")

module.exports = {
    plugins: [
        new FrontlineImageConfigWebpackPlugin()
    ]
}

Take a look at webpack-config for instructions on a more complete Frontline webpack configuration.

Contributing

Please refer to the contributing document.

License

ISC © AKQA

0.9.0-rc.0

4 years ago

0.8.0

4 years ago

0.7.2-alpha.0

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago