rollup-plugin-ng-template
v0.0.1
Published
angular1 rollup 引入模板
Downloads
5
Readme
rollup-plugin-ng-template
angular1 rollup 引入模板
使用
yarn add rollup-plugin-ng-template -D
demo
import html from 'rollup-plugin-ng-template'
export default {
entry: 'src/index.js',
dest: 'dist/index.js',
plugins: [
html()
]
}
Options
{
include: '**/*.html',
exclude: '',
// ng模块 默认是 ng 其他的 请先声明
module: 'xx.tpl'
}