Skip to content

opensourcecu/raml-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raml-loader

RAML loader for webpack.

Converts a RAML specification into a CommonJS module using raml-js-parser.

Usage

Documentation: Using loaders

Example

import MyAPI from "./api/MyAPI.raml";

console.warn('the title of the API is', MyAPI.title);

Recommended configuration

The recommended configuration for webpack is:

{
  module: {
    loaders: [
      { test: /\.raml$/, loader: "raml" }
    ]
  }
}

Install

npm install raml-loader

About

RAML loader for webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published