Skip to content

Combined templates file references incorrect runtime #175

@andrewminer

Description

@andrewminer

If you use this plugin to create a single downloadable template file from many different pug files, it adds the following line to the top of your template file:

var pug = pug || require('pug/lib/runtime');

That file no longer exists in the main pug package, and when combined with #169, that pretty much means you're screwed since your template file will attempt to reference a non-existent file.

This should be changed to require pug-runtime instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions