diff --git a/src/bundle.ts b/src/bundle.ts index 472af4b..561b8a2 100644 --- a/src/bundle.ts +++ b/src/bundle.ts @@ -113,7 +113,7 @@ export async function bundle(options: BundleOptions) { return identifier ? identifier = '' : '}' } else { if (identifier) line = line.slice(4) - return line.replace(/^((class|namespace|interface) .+ \{)$/, (_) => `export ${_}`) + return line.replace(/^((abstract|class|namespace|interface) .+ \{)$/, (_) => `export ${_}`) } }).filter(line => line).join(EOL)