catdad-experiments / catdad-experiments/libheif-js

require function is used in a way in which dependencies cannot be statically extracted

Open
#23 6 comments 9 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
118
Forks
10
Avg merge
2h 3m
Merged PRs (30d)
1

Description

Webpack is emitting this warning when I `require( 'libheif-js/wasm-bundle' )` in my project.

The contents of `wasm-bundle.js`:

https://github.com/catdad-experiments/libheif-js/blob/d58327650ae188dd1a9b0e8827907ae4bc39dafe/wasm-bundle.js#L1

Not sure how this can be best addressed, I'd have to look into that, but I thought I'd share it here just in case in case anyone has ideas.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.