Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Babel plugin for inlining templates into angular 1.X components and directives

License

Notifications You must be signed in to change notification settings

xlhybridsOSS/babel-plugin-angular-inline-template

 
 

Repository files navigation

babel-plugin-angular-inline-template Build Status GitHub license

NPM

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

About

Babel plugin for inlining templates into angular 1.X components and directives

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%