0.0.2 • Published 7 years ago

webpack-xml-loader v0.0.2

Weekly downloads
88
License
-
Repository
github
Last release
7 years ago

Webpack XML loader

A Webpack plugin for loading XML files.

Installation

Install via npm:

npm install --save-dev xml-loader

Usage

Add the loader to your webpack config:

(You may also pass any of the xml2js parser options in an object.)

module : {
  loaders : [
    {
      test: /\.xml$/,
      use: {
        loader: 'xml-loader',
        options: {
          explicitArray: false,
        },
      },
    },
  ],
},

Credits