Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates Eloquence to support TypeScript out of the box, with the option to disable when necessary. BREAKING CHANGE: Use `enableTS` and `enableESM` to disable TypeScript and ESModule configs when necessary.
- Loading branch information
1 parent
7c4af19
commit 7ade772
Showing
6 changed files
with
123 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
'use strict' | ||
|
||
const eloquence = require('./src/index') | ||
module.exports = eloquence({ target: 'node', esm: false }) | ||
|
||
module.exports = eloquence({ target: 'node', enableESM: false, enableTS: false }) |
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.