Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added process name/namespace option for compiling to client #157

Closed

Conversation

magnuspaaske
Copy link

Added 2 options for compiling to client JS with gulp-pug, namespace and processName. The namespace option creates a namespace so that all templates are compiled into the same namespace and can be easily found in the frontend code (as opposed to having all the templates being named 'template'). This change brings the processName option in line with grunt-contrib-pug (apart from a few details allowing this behaviour to only show up when the namespace option is set)

@jamen
Copy link
Contributor

jamen commented Jul 1, 2017

Hey @magnuspaaske, if you could provide some tests for this feature you are proposing, that would be nice.

(P.S. I don't use Pug much anymore, so let me know if you want access to maintain this better. 😄)

@magnuspaaske
Copy link
Author

Hi @jamen
I'll add some tests – I assume 2-3 tests should cover the functionality we're seeking here.
As for maintain access, let's discuss that in a separate thread :)
/Magnus

@phated
Copy link
Member

phated commented May 11, 2019

Closing this in favor of #199

@phated phated closed this May 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants