-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10.x] Add
content
method to Vite (#47968)
* Add `Vite::content()` method. * Add test for `content` method 🧪 * Add `content` method to the facade. * Styling. * Add file existence check 🛡 * Throw an exception instead of returning an empty string. * Remove redundant code in test 🧹 * Apply suggestion ✨ Co-authored-by: Jess Archer <[email protected]> * Fix test based on applied suggestion 🧪 --------- Co-authored-by: Jess Archer <[email protected]>
- Loading branch information
1 parent
dd5c517
commit 060faa6
Showing
3 changed files
with
70 additions
and
0 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
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