-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: move extension handling outside of tree
Fix #400 BREAKING CHANGE: `Tree` and `PrefixTree` insert method expects a path without the file extension. They also expect the fullpath of the file as a second argument (it used to be optional). This aligns better with their responsibility. ```ts // replace tree.insert('file.vue') // with tree.insert('file', resolve('file.vue')) ``` This shouldn't affect most users as the Tree implementation are used internally to represent the folder structure.
- Loading branch information
Showing
12 changed files
with
243 additions
and
327 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
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
Oops, something went wrong.