vite-plugin-pug
vite-plugin-pug copied to clipboard
TypeError: pugPlugin is not a function
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.