rgl2-loader

0.2.0 • Public • Published

rgl-loader

loader for load regular template in webpack.

Setup

In your webpack.config.js or gulp-webpack options.


var path = require('path');

module.exports = {
    entry: "./src/index.js",
    output: {
        path: __dirname ,
        filename: "bundle.js"
    },
    module: {
        loaders: [
            { test: /\.rgl$/, loader: 'rgl' }
        ]

    }
};

Example

regularjs/example#webpack

Readme

Keywords

Package Sidebar

Install

npm i rgl2-loader

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • zjzhome