0.3.0 • Published 7 years ago
cypher-loader v0.3.0
cypher-loader
A simple webpack loader for Cypher query files.
Installation
npm install --save-dev cypher-loader
Usage
Configuration
module.exports = {
module: {
loaders: [
{
test: /\.cypher$/,
loader: 'cypher'
}
]
}
};
Require
var queries = require('cypher!./queries.cypher');
Query files
For more information about the query files themselves, you should check the decypher library's documentation on the subject.