Skip to content

Remove critical dependencies html2canvas #1072

Closed

Description

@offtherailz

This warning advice that to get better results you have to get the original source. Until html2canvas is published as compressed module on npm, we should suppress this warning and avoid webpack to parse it.

WARNING in ./~/html2canvas/dist/html2canvas.js
Critical dependencies:
8:484-491 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/html2canvas/dist/html2canvas.js 8:484-491
webpack: bundle is now VALID.

We can use npParse option to webpack to improve performances and remove the warning.

Activity

  1. added a commit that references this issue on Oct 4, 2016
    4329764
  2. self-assigned this
    on Oct 4, 2016
  3. added this to the W372016 milestone on Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions