question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for pug/jade templates

See original GitHub issue

Type of Issue

[ ] Bug Report
[X] Feature Request

Description

I know that pug/jade templating has fallen out of favor with the general development community, but there are still a (smallish?) set of devs that still prefer it to html. It would be nice to add a small bit of code to handle pug and jade templates, similar to the way css preprocessors are handled.

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

Expected Behaviour

I have a fork and working version already. The code changes are fairly minimal. I would be glad to create a PR for this if this is something the maintainers would like to add.

new package requirements: "pug": "^2.0.3"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
alan-agius4commented, Jul 6, 2019

Hi, thanks for your interest, however this is currently out of scope of ng-packagr as pug templates are also not supported by the Angular CLI.

0reactions
github-actions[bot]commented, Jul 19, 2020

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pug: Getting Started
The general rendering process of Pug is simple. pug.compile() will compile the Pug source code into a JavaScript function that takes a data...
Read more >
Pug HTML Template Engine: A Beginner's Guide - SitePoint
Setting up Pug as the Template Engine. Express has excellent support for using Pug, so very little configuration is necessary. First, let's add...
Read more >
Pug (Jade) | IntelliJ IDEA Documentation - JetBrains
Pug (ex-Jade) - Install the plugin on the Settings/Preferences ... IntelliJ IDEA integrates with the Pug (Jade) template engine that ...
Read more >
How To Create Better Angular Templates With Pug
Angular CLI supports multiple built-in CSS preprocessor options for component styling ... Pug (formerly known as Jade) is a template engine.
Read more >
Pug (Jade) Template Engine - Help | JetBrains Rider
Install and enable the Pug (former Jade) repository plugin on the Plugins page as described in Managing plugins. Also, if you need a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found