This commit is contained in:
Alex
2023-12-21 15:20:12 -05:00
parent 3ec7c342ba
commit 4563047e01
4 changed files with 15 additions and 6 deletions

View File

@ -84,6 +84,14 @@ const map = new HandlerMap()
'array.prototype.tosorted',
proto(t => t.identifier('toSorted')),
)
.set(
'array.prototype.toreversed',
proto(t => t.identifier('toReversed')),
)
.set(
'array.prototype.findlast',
proto(t => t.identifier('findLast')),
)
.set(
'string.prototype.matchall',
proto(t => t.identifier('matchAll')),
@ -263,8 +271,8 @@ async function main(
define: {},
alias: {
// esm modules
'find-cache-dir': require.resolve('find-cache-dir'),
},
external: ['find-cache-dir'],
banner: {
js: '/* eslint-disable */',
},