sidorares/pugify

TypeError: Cannot read property 'split' of undefined(…)

iancullinane opened this issue · 1 comments

I am importing pug templates to use on the client and using pugify to and es2015 to compile. Starting yesterday I started getting the following error in the browser console:

Uncaught TypeError: Cannot read property 'split' of undefined(…)        core.js:23

I am honestly unsure what this has to do with pugify but it only happens when I try and use the transform. I thought it had something to do with another package but isolated the issue to pugify by writing a new app that only writes a pug template to an HTML id.

Any help is appreciated as this seriously breaks my application.

This was a problem with browserify not pugify