SubZtep/vite-plugin-pug

TypeError: pugPlugin is not a function

Opened this issue · 2 comments

when doing yarn dev i get this error

error when starting dev server:
TypeError: pugPlugin is not a function

im using archlinux

same for me! can you provide me any fixes?
macOS user here...

I had to import the plugin like this.

const { default: vitePug } = require('vite-plugin-pug');

Not sure if this is your problem though.