-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add onLog to input options in JavaScript API * Clean up tests * Test string logging * Test type fixes * Add basic this.log support without position * Add positions to logs in "transform" hook * Separate level from logs * Display logs in CLI * Unify log handling to use onLog * Introduce constants for log levels * Replace RollupWarning with RollupLog type * Replace warn with log in AST context * Allow to turn logs into errors in default handler * Add onLog plugin hook * Clean up * Add log levels * Ensure "silent" also silences logs * Do not augment onLog errors, only allow pos in transform via types * Fix test * Add docs * Fix anchors * Rename errors to logs * Clarify that onLog option can be used for logging * Start work on eixsting logs * Use logging API for experimental features * Improve coverage * Allow logs to be functions * Finalise docs * Refine docs
- Loading branch information
1 parent
de2d6ff
commit 23c111c
Showing
189 changed files
with
3,234 additions
and
1,716 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { error, errorNoFileSystemInBrowser } from '../../src/utils/error'; | ||
import { error, logNoFileSystemInBrowser } from '../../src/utils/logs'; | ||
|
||
export const throwNoFileSystem = (method: string) => (): never => | ||
error(errorNoFileSystemInBrowser(method)); | ||
error(logNoFileSystemInBrowser(method)); |
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
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
Oops, something went wrong.