mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
@joplin/empty
An empty package. This package can be used to exclude certain dependencies from build.
For example, the canvas dependency is an optional dependency of pdfjs-dist. However, it isn't used by Joplin and can cause build to fail in certain environments. The @joplin/empty package can exclude canvas from the build by adding a resolution to resolutions in the top-level package.json. For example, resolving canvas@npm:^2.11 to file:./packages/empty/.
See also: