babel-plugin-angular-inline-template
v1.2.1
Published
Babel plugin for inlining templates into angular 1.X components and directives
Downloads
66
Maintainers
Readme
babel-plugin-angular-inline-template
Babel plugin for inlining templates into angular 1.X components and directives
How to use
In .babelrc
or similar:
{
"plugins": [
["babel-plugin-angular-inline-template", {
"basePath": "<ROOT-PATH-TO-YOUR-FILE>"
}]
]
}
Or if you want to use relative templateUrl's:
{
"plugins": [
"babel-plugin-angular-inline-template"
]
}
All templates are minified using html-minifier