mirror of https://github.com/laurent22/joplin.git
|
||
---|---|---|
.. | ||
README.md | ||
package.json |
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: