-
-
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.
fix: add
.js
file extensions on imports to support node ESM
- Loading branch information
Showing
5 changed files
with
9 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
import LambdaLog from './LambdaLog'; | ||
import LogMessage from './LogMessage'; | ||
import LambdaLog from './LambdaLog.js'; | ||
import LogMessage from './LogMessage.js'; | ||
|
||
/** | ||
* Instance of the LambdaLog class which is exported when calling `require('lambda-log')`. For more | ||
* advanced usage, you can create a new instance of the LambdaLog class via `new log.LambdaLog()`. | ||
* @type {LambdaLog} | ||
*/ | ||
export default new LambdaLog(); | ||
export { LambdaLog, LogMessage }; | ||
export * from './typings'; |
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