ente/web/packages
Manav Rathi 9eab93cfdf
Suppress webpack's critical dependency warnings for libheif
Supressing it for now since it obscures other important information in the console.

Upstream issue, which currently doesn't have a workaround:
https://github.com/catdad-experiments/libheif-js/issues/23

Full error message:

     ⚠ ../../node_modules/libheif-js/libheif-wasm/libheif-bundle.js
    Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

    Import trace for requested module:
    ../../node_modules/libheif-js/libheif-wasm/libheif-bundle.js
    ../../node_modules/libheif-js/wasm-bundle.js
    ../../node_modules/heic-decode/index.js
    ../../node_modules/heic-convert/index.js
    ./src/worker/convert.worker.ts
    ./src/utils/comlink/ComlinkConvertWorker.ts
    ./src/services/heic-convert/service.ts
    ...

Refs:
- https://stackoverflow.com/questions/38392697/webpack-umd-critical-dependency-cannot-be-statically-extracted
2024-04-15 13:47:46 +05:30
..
accounts Blobs it is 2024-04-13 08:04:43 +05:30
build-config [web] Add ESLint to enforce HMR how vite likes it 2024-04-13 18:38:24 +05:30
eslint-config Remove stale disables 2024-04-13 18:50:12 +05:30
next Suppress webpack's critical dependency warnings for libheif 2024-04-15 13:47:46 +05:30
shared css-alignment-issue-page-gallery 2024-04-14 13:53:00 +05:30
utils Remove deprecated loggers 2024-04-09 12:06:46 +05:30