danguilherme / ng-cli-pug-loader

:sparkles: Angular schematics to add .pug to your project
GNU General Public License v3.0
56 stars 17 forks source link

Pug support inside angular libraries #33

Closed donmahallem closed 10 months ago

donmahallem commented 4 years ago

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 commented 4 years ago

Someone else already did some work on this:

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

valera33 commented 3 years ago

any news ?

danguilherme commented 10 months ago

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