postxml-loader

1.0.0 • Public • Published

postxml-loader Build Status

Postxml loader for webpack

Install

npm install postxml-loader --save-dev

Usage

Here is the example of using postxml-loader along with file-loader:

// Load plugins
const pImport       = require('postxml-import');
const pImageSize = require('postxml-image-size');
 
// Config
module.exports = {
    module: {
        loaders: [
            {
                test:   /\.css$/,
                loaders: [
                    'file?name=[name].[ext]',
                    'postxml'
                ]
            }
        ]
    },
    // Array of plugins
    postxml: [
        pImport(),
        pImageSize()
    ]
}

Package Sidebar

Install

npm i postxml-loader

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • yepninja