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

any way to use global pug runtime #115

Open
leviwheatcroft opened this issue Oct 19, 2018 · 0 comments
Open

any way to use global pug runtime #115

leviwheatcroft opened this issue Oct 19, 2018 · 0 comments

Comments

@leviwheatcroft
Copy link

Suppose you have webpack build a primary app, and then separate files for different components, webpack will bundle pug runtime with each component. Is there any way to avoid that so each component would use a global instance of pug-runtime?

To complicate things further, my components are in separate repositories, so webpack creates each component individually rather than by using chunks. This means I can't use something like webpack's library feature.

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

No branches or pull requests

1 participant