ng-cli-pug-loader icon indicating copy to clipboard operation
ng-cli-pug-loader copied to clipboard

Pug support inside angular libraries

Open donmahallem opened this issue 4 years ago • 2 comments

Currently I am facing issues with using pug in angular libraries.

The ng-packgr does naivly assume that everything BUT html,htm and svg files are css files

https://github.com/ng-packagr/ng-packagr/blob/6234bafb31559cf5825d37db8d729ef3502a4ef9/src/lib/ts/cache-compiler-host.ts#L131

This results in the css processor choking on pug files and throwing errors. Adding a pug to that line fixes the issue but I am not sure if this library is the right scope for that issue.

donmahallem avatar Mar 28 '20 18:03 donmahallem

Someone else already did some work on this:

https://github.com/crexi-dev/ng-packagr/pull/1/files

donmahallem avatar Mar 28 '20 18:03 donmahallem

any news ?

valera33 avatar Jan 21 '21 16:01 valera33

This project is no longer maintained. Check out ngx-pug-builders to add support to pug files to your Angular project.

danguilherme avatar Nov 21 '23 23:11 danguilherme