0.6.5 • Published 8 years ago

react-templates-loader v0.6.5

Weekly downloads
1,407
License
MIT
Repository
github
Last release
8 years ago

react-templates loader for webpack

Usage

var template = require("react-templates-loader!./template.rt");
// => return exports of executed and compiled template.rt

Documentation: Using loaders

Recommended configuration

{
	module: {
		loaders: [
			{ test: /\.rt$/, loader: "react-templates-loader?modules=amd" },
		]
	}
}

When the loader is configured, it shouldn't be referenced in the require:

var template = require("./template.rt");

License

MIT (http://www.opensource.org/licenses/mit-license.php)

0.6.5

8 years ago

0.6.4

8 years ago

0.6.3

8 years ago

0.6.2

9 years ago

0.6.1

9 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.1

11 years ago

0.1.0

11 years ago