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

Compatibility with Vite #92

Open
neckaros opened this issue Jul 13, 2022 · 0 comments
Open

Compatibility with Vite #92

neckaros opened this issue Jul 13, 2022 · 0 comments

Comments

@neckaros
Copy link

When using vite & EXIFR we get the following warning
node_modules/.vite/deps/exifr.js

        return "function" == typeof __require ? Promise.resolve(t2(__require(e2))) : import(
         /* webpackIgnore: true */
         e2
         ^
       ).then(t2);      } catch (t3) {
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.

Adding the /* @vite-ignore */ solve the issue

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