0.6.5 • Published 6 years ago

react-templates-loader v0.6.5

Weekly downloads
1,407
License
MIT
Repository
github
Last release
6 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

6 years ago

0.6.4

6 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.6.1

7 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago