nc-a2-html-loader
v1.0.1
Published
loader for html development in angular 2
Downloads
3
Readme
Awesome html Loader for local development by Max Maximov
Here is an example
{
test: /\.ts$/,
use: [
{
loader: 'awesome-typescript-loader?'
},
{
loader: 'angular2-template-loader-portal',
options: {
path: 'absolute_path_with_webpackconfig',
publicPath: 'path_from_html_file_to_webpackconfig',
}
}
],
exclude: [isTest ? /\.(e2e)\.ts$/ : /\.(spec|e2e)\.ts$/, /node_modules\/(?!(ng2-.+))/]
}