Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite Build Warnings #73

Open
sanchawebo opened this issue Oct 23, 2023 · 0 comments
Open

Vite Build Warnings #73

sanchawebo opened this issue Oct 23, 2023 · 0 comments

Comments

@sanchawebo
Copy link

When building a bundle with vite and tiff.js, vite outputs the following warnings:
[plugin:vite:resolve] Module "fs" has been externalized for browser compatibility, imported by "/Users/mpr05/Webseiten/gefakoplus/node_modules/tiff.js/tiff.min.js". See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.

[plugin:vite:resolve] Module "path" has been externalized for browser compatibility, imported by "/Users/mpr05/Webseiten/gefakoplus/node_modules/tiff.js/tiff.min.js". See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.

[plugin:vite:resolve] Module "crypto" has been externalized for browser compatibility, imported by "/Users/mpr05/Webseiten/gefakoplus/node_modules/tiff.js/tiff.min.js". See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.

And these:
node_modules/tiff.js/tiff.min.js (79:150) Use of eval in "node_modules/tiff.js/tiff.min.js" is strongly discouraged as it poses security risks and may cause issues with minification.

node_modules/tiff.js/tiff.min.js (113:452) Use of eval in "node_modules/tiff.js/tiff.min.js" is strongly discouraged as it poses security risks and may cause issues with minification.

What can i do to remedy this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant