generated from un-ts/lib-boilerplate
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add polyfill and ponyfill support (#5)
- Loading branch information
Showing
13 changed files
with
249 additions
and
108 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"ab64": minor | ||
--- | ||
|
||
feat: add polyfill and ponyfill support |
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 |
---|---|---|
|
@@ -38,11 +38,14 @@ | |
}, | ||
"funding": "https://opencollective.com/unts", | ||
"license": "MIT", | ||
"packageManager": "[email protected].0", | ||
"packageManager": "[email protected].1", | ||
"engines": { | ||
"node": "^12.20.0 || ^14.18.0 || >=16.0.0" | ||
}, | ||
"exports": "./src/index.ts", | ||
"exports": { | ||
".": "./src/index.ts", | ||
"./ponyfill": "./src/ponyfill.ts" | ||
}, | ||
"files": [ | ||
"lib", | ||
"!**/*.tsbuildinfo" | ||
|
@@ -91,9 +94,9 @@ | |
"@changesets/cli": "^2.24.1", | ||
"@pkgr/webpack": "^3.2.0", | ||
"@pkgr/webpack-mdx": "^2.0.3", | ||
"@size-limit/preset-small-lib": "^7.0.8", | ||
"@size-limit/preset-small-lib": "^8.0.0", | ||
"@types/mdx": "^2.0.2", | ||
"@types/node": "^18.6.2", | ||
"@types/node": "^18.6.3", | ||
"@types/react": "^18.0.15", | ||
"@types/react-dom": "^18.0.6", | ||
"@types/web": "^0.0.70", | ||
|
@@ -105,7 +108,7 @@ | |
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.3.0", | ||
"sirv-cli": "^2.0.2", | ||
"size-limit": "^7.0.8", | ||
"size-limit": "^8.0.0", | ||
"type-coverage": "^2.22.0", | ||
"typescript": "4.7.4", | ||
"unplugin-auto-import": "^0.10.3", | ||
|
@@ -115,17 +118,25 @@ | |
"main": "./lib/index.cjs", | ||
"module": "./lib/index.js", | ||
"exports": { | ||
"types": "./lib/index.d.ts", | ||
"browser": "./lib/browser.js", | ||
"import": "./lib/index.js", | ||
"require": "./lib/index.cjs" | ||
".": { | ||
"types": "./lib/index.d.ts", | ||
"browser": "./lib/browser.js", | ||
"import": "./lib/index.js", | ||
"require": "./lib/index.cjs" | ||
}, | ||
"./polyfill": "./lib/polyfill.js", | ||
"./ponyfill": "./lib/ponyfill.js" | ||
}, | ||
"types": "./lib/index.d.ts" | ||
}, | ||
"size-limit": [ | ||
{ | ||
"path": "lib/browser.js", | ||
"limit": "280B" | ||
}, | ||
{ | ||
"path": "lib/ponyfill.js", | ||
"limit": "520B" | ||
} | ||
], | ||
"typeCoverage": { | ||
|
Oops, something went wrong.