Skip to content

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

@swissspidy

Description

@swissspidy

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

The contents of wasm-bundle.js:

module.exports = require('./libheif-wasm/libheif-bundle.js')();

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions