-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: provide cjs pkg entrypoints (#793)
* feat: provide cjs pkg entrypoints relates #340 #399 #282 #197 * chore: linting * build: extract esbuild helpers * chore: up some dev deps * test: check licenses once * test: ignore esblib.cjs coverage * test: omit annotations coverage * style: linting
- Loading branch information
1 parent
bc2a08c
commit 086b500
Showing
12 changed files
with
237 additions
and
40 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const import_meta_url = | ||
typeof document === 'undefined' | ||
? new (require('url'.replace('', '')).URL)('file:' + __filename).href | ||
: (document.currentScript && document.currentScript.src) || | ||
new URL('main.js', document.baseURI).href |
Oops, something went wrong.