joplin/.yarn/joplin-empty-package
Henry Heino c5ca0151a1
Chore: Upgrade to Yarn v4 (#12407)
2025-06-08 14:07:10 +01:00
..
README.md Chore: Upgrade to Yarn v4 (#12407) 2025-06-08 14:07:10 +01:00
package.json Chore: Upgrade to Yarn v4 (#12407) 2025-06-08 14:07:10 +01:00

README.md

@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: