Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 510 Bytes

README.md

File metadata and controls

26 lines (24 loc) · 510 Bytes

##webpack loader for wire.js specifications ##installation

npm i

##tests

npm test

##webpack loader configuration

module: {
    loaders: [
        {   
            test: /\.spec\.coffee$/, 
            loaders: ['wire-spec-loader?markup=component&componentsDir=' + componentsDir],
            exclude: /node_modules/
        }
    ]
}

Queries:

  • markup: field name in wire.js specification to be parsed as component markup
  • componentsDir: directory where to search markup components