Skip to content

Neutrino middleware for creating XML files based on EJS templates.

License

Notifications You must be signed in to change notification settings

sammarks/neutrino-middleware-xml

Repository files navigation

CircleCI NPM version NPM downloads License Issues

neutrino-middleware-xml is a Neutrino Middleware for the Webpack XML Template Plugin.

Get Started

npm install --save-dev neutrino-middleware-xml
module.exports = {
  use: [
    'neutrino-middleware-xml',
    {
      files: [
        {
          template: path.join(__dirname, 'xml-template.ejs'),
          filename: 'path/to/result.xml',
          data: {
            foo: 'bar'
          }
        }
      ]
    }
  ]
}

Features

About

Neutrino middleware for creating XML files based on EJS templates.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published