-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change docx to peer dependency; allow docx 9.x
Anyone using prosemirror-docx is likely also using docx directly, so there's a good chance they've installed it themselves via their package manager. As long as prosemirror-docx specifies docx as a direct dependency, that can result in two different versions of docx being loaded, which can cause unexpected behavior, TypeScript errors, etc. A peer dependency is more appropriate in this case.
- Loading branch information
Showing
2 changed files
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters