Skip to content

Commit d6b68c2

Browse files
committed
comment
1 parent 6102324 commit d6b68c2

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

rspack/collect-typescript-info/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

rspack/collect-typescript-info/src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ import { Kind, TypeA, TypeB } from './reexports';
33
const a: TypeA = 42;
44
const b: TypeB = 'rspack';
55

6-
console.log(Kind.A, Kind.B, a, b);
6+
console.log(a, b);
7+
8+
// Take a look at the build output (dist/main.js)
9+
// Should inline Kind.A to 0 and Kind.B to 1 here since we configured inlineEnum
10+
console.log(Kind.A, Kind.B);
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
export * from './enums';
22

3-
// typeReexportsPresence case 1:
3+
// Should not report ESModulesLinkingWarning since we configured `typeReexportsPresence: "tolerant"`
4+
// case 1:
45
export { TypeA } from './types';
5-
// typeReexportsPresence case 2:
6+
// case 2:
67
import { TypeB } from './types';
78
export { TypeB };

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy