babel-plugin-angular-inline-template

1.2.1 • Public • Published

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

Package Sidebar

Install

npm i babel-plugin-angular-inline-template

Weekly Downloads

20

Version

1.2.1

License

MIT

Unpacked Size

9.2 kB

Total Files

20

Last publish

Collaborators

  • assisrafael