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.

Unable to configure Jade options

See original GitHub issue

I need to disable the Jade pretty option in both development and production so HTML is minified, to avoid whitespace issues when display: inline-block components are looped next to each other.

Looking at the way Keystone renders the views here, this should at least happen if you set the node env to production. I tried this to no effect.

Regardless, I would like to be able to configure Jade for development.

Is there a workaround in the meantime?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
JedWatsoncommented, Jun 19, 2016

I’ve made it so you can now specify pretty in the locals setting, and it won’t be overridden which fixes this issue! Also published a new patch with the change in it (0.3.21) since I didn’t get a chance to add this in the last release.

1reaction
JedWatsoncommented, Jun 19, 2016

@arthurcamara1 that’s actually only having an impact on the Admin UI which isn’t relevant to this issue; the problem here is being able to configure pretty in the default express locals

Read more comments on GitHub >

github_iconTop Results From Across the Web

JADE Installation and Configuration Guide
Initiating the Installation from the JADE Setup Program ... of these initialization file parameters, it fails because of insufficient privileges.
Read more >
Java Jade : not displaying in console - Stack Overflow
firstAgent. If you run it from command line then you will need to add jade.Boot main class name after -cp classpath but before...
Read more >
JADE Error Messages and System Messages - HubSpot
Action. Install the network. -107 Out of resource. Cause. This error occurs if the network is unable to allocate the required memory resources....
Read more >
Jade Empire: Special Edition - PCGamingWiki PCGW
Use Configuration Utility. Run <path-to-game> \JadeEmpireConfig.exe; Go to Video tab and check Disable Intro Movies; Select Save Settings ...
Read more >
[jade-develop] Problem running JADE examples
Error creating the Profile [Can't load properties: Cannot find file ... I have set the classpath to have the jade.jar, commons_codec.jar, Base 64.jar,...
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