Skip to content

postxml/postxml-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()
	]
}

About

Postxml loader for webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published