-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package data for NPM as ESM and CJS (#12169)
* Package data for NPM as ESM and CJS Previously only a CJS entrypoint was provided. This provides a ESM entrypoint that can be directly used from Deno or a browser. * review changes * review comment * Update README.md Co-authored-by: Queen Vinyl Da.i'gyu-Kazotetsu <[email protected]>
- Loading branch information
1 parent
70741b3
commit b740c60
Showing
4 changed files
with
35 additions
and
18 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,9 +1,6 @@ | ||
/* Any copyright is dedicated to the Public Domain. | ||
* http://creativecommons.org/publicdomain/zero/1.0/ */ | ||
/// <reference path="./types.d.ts"/> | ||
|
||
import { CompatData } from './types'; | ||
|
||
// This is necessary to have intellisense in projects which | ||
// import data from this package. | ||
declare const compatData: CompatData; | ||
export = compatData; | ||
export default CompatData; |
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