dogescript-loader
Bundle dogescript files in webpack
Usage
First the loader to the webpack config:
module: {
loaders: [
{ test: /\.djs$/, loader: 'dogescript-loader' }
]
}
Then require dogescript from plain JavaScript:
var doge = require('./lib/doge.djs');
var wow = doge.amaze();
Or even better, require dogescript from dogescript:
so doge.djs as doge
very wow is plz doge.amaze
For the same in serverside node.js see require-doge.
Install
npm install dogescript-loader --save-dev
History
- 2.4.0 - support dogescript 2.4.0
- 0.1.3 - Moved to dogescript org
- 0.1.2 - Fix doge
- 0.1.0 - Top doge
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style.
License
Copyright (c) 2014 Bart van der Schoor
Licensed under the MIT license.