You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 12, 2018. It is now read-only.
I hadn't seen this project after pug was renamed from jade, but I had been using jade-runtime before. I was thinking why there's no browser optimized version of the runtime so that it can be dropped into a project with no problems (preferably loaded from bower).
Not sure how it could best be done but I assume the main file could simply be used as a basis. Currently when I compile pug I need to add the functions anyways but it would be better to add it based on the common master.
/Magnus
The text was updated successfully, but these errors were encountered:
The latest version of pug automatically generates the required runtime functions inline, so you shouldn’t need to reference pug-runtime. If you want to as a performance optimisation (if your app has a lot of pug templates), any CommonJS loader should work fine.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey
I hadn't seen this project after pug was renamed from jade, but I had been using jade-runtime before. I was thinking why there's no browser optimized version of the runtime so that it can be dropped into a project with no problems (preferably loaded from bower).
Not sure how it could best be done but I assume the main file could simply be used as a basis. Currently when I compile pug I need to add the functions anyways but it would be better to add it based on the common master.
/Magnus
The text was updated successfully, but these errors were encountered: