After upgrading from 1.7.4 to 1.10.0 I got this warning:
13:51:24 [vite] warning:
/node_modules/.q-cache/vite/spa/deps/@tato30_vue-pdf.js
3845| /*webpackIgnore: true*/
3846| this.workerSrc
| ^
3847| );
3848| return worker.WorkerMessageHandler;
The above dynamic import cannot be analyzed by vite.
See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.
Hi.
After upgrading from 1.7.4 to 1.10.0 I got this warning:
Just put
/* @vite-ignore */
into code and warning disappears. Like this:
Thank you :)