-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg: Update
react-live
to v4 (#2544)
* pkg: Update `react-live` to v4 * docs: Remove typescript dependency by using built-in transform --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathaniel Tucker <me@ntucker.me>
- Loading branch information
1 parent
6457b14
commit 0a6c93c
Showing
6 changed files
with
52 additions
and
59 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
import typescriptTransform from './typescriptTransform'; | ||
import usingMonaco from './usingMonaco'; | ||
|
||
const transformCode = usingMonaco | ||
? code => { | ||
return code.replaceAll(/^(import.+$|export (default )?)/gm, ''); | ||
} | ||
: typescriptTransform; | ||
export default typescriptTransform; | ||
const transformCode = code => { | ||
return code.replaceAll(/^(import.+$|export (default )?)/gm, ''); | ||
}; | ||
export default transformCode; |
This file was deleted.
Oops, something went wrong.
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
0a6c93c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
rest-hooks – ./
rest-hooks.vercel.app
rest-hooks-git-master-data-client.vercel.app
www.resthooks.io
resthooks.io
rest-hooks-data-client.vercel.app