Update
This commit is contained in:
10
esbuild.ts
10
esbuild.ts
@ -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 */',
|
||||
},
|
||||
|
Reference in New Issue
Block a user