swc/bundler/tests/fixture/deno-9176/test-2/input/my-error.ts
강동윤 17f17e82e6
fix(bundler): Fix bugs (#1342)
swc_bundler:
 - Add a testing system for constant inliner.

swc_ecma_transforms_optimization:
 - const_propagation: Handle export specifiers.
 - const_propagation: Handle inlining of variables whose initializer is inlined.
 - dce: Allow dropping identifiers used in `exported` part of export specifiers.
2021-01-20 16:10:12 +09:00

5 lines
89 B
TypeScript

export class MyError extends Error {
constructor() {
super("I'm in?")
}
}