You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issue while developing in a Quasar-Vite-Vue3 environment.
Initially, I set up the import like this:
import*aspdfMakefrom'pdfmake/build/pdfmake';import*aspdfFontsfrom'pdfmake/build/vfs_fonts';(<any>pdfMake).vfs = pdfFonts.pdfMake.vfs;
// I also tried 'pdfMake as any'
Everything works fine with pdfMake at the development stage. But I received error at quasar build:
Error when using sourcemap for reporting an error: Can't resolve original location of error.
'pdfMake' is not exported by 'node modules/pdfmake/build/vfs fontsjs'
Error when using sourcemap for reporting an error: Can't resolve original location of error.
Illegal reassignment to import 'pdfMake'
The text was updated successfully, but these errors were encountered:
Hello,
I've encountered an issue while developing in a Quasar-Vite-Vue3 environment.
Initially, I set up the import like this:
Everything works fine with pdfMake at the development stage. But I received error at
quasar build
:The text was updated successfully, but these errors were encountered: