Remove regex replacements from import-typescript

This commit is contained in:
Jake Bailey 2022-10-04 20:20:28 -07:00
parent d63c89d832
commit 416b686d69
5 changed files with 1218 additions and 100 deletions

View file

@ -104,6 +104,7 @@ export function buildESM(options: { base: string; entryPoints: string[]; externa
bundle: true,
target: 'esnext',
format: 'esm',
drop: ['debugger'],
define: {
AMD: 'false'
},
@ -141,6 +142,7 @@ function buildOneAMD(
bundle: true,
target: 'esnext',
format: 'iife',
drop: ['debugger'],
define: {
AMD: 'true'
},