2.0.3 • Published 3 years ago

asset-config-webpack-plugin v2.0.3

Weekly downloads
584
License
MIT
Repository
github
Last release
3 years ago

asset-config-webpack-plugin

NPM version Build Status lerna License Commitizen friendly Prettier

Creating a webpack loader configurations can be quite time consuming.
The asset-config-webpack-plugin is part of the common-config-webpack-plugin suite which tries to provide best practices for the most common loader requirements.

Installation

npm i --save-dev asset-config-webpack-plugin

Webpack Config

The asset-config-webpack-plugin is just a small convince wrapper around the image-config-plugin and the font-config-plugin npm packages.

const AssetConfigWebpackPlugin = require('asset-config-webpack-plugin');
module.exports = {
  plugins: [new AssetConfigWebpackPlugin()],
};

For more control please use the image-config-plugin and/or the font-config-plugin instead of the asset-config-webpack-plugin.

const FontConfigWebpackPlugin = require('font-config-webpack-plugin');
const ImageConfigWebpackPlugin = require('image-config-webpack-plugin');

module.exports = {
  plugins: [
    new FontConfigWebpackPlugin(),
    new ImageConfigWebpackPlugin(),
  ],
};
2.0.3

3 years ago

2.0.2

3 years ago

2.0.1-beta.2

3 years ago

2.0.1-beta.1

3 years ago

2.0.0

4 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.0.0

5 years ago

0.4.4

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago