mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
ba13db54db
swc_bundler: - Allow `export *` and `import` from same source. (denoland/deno#8828, denoland/deno#8725) - Handle contextual keywords. (denoland/deno#8680) - Prevent duplicated identifiers. (denoland/deno#8725) swc_ecma_transforms: - dce: Preserve tags in tagged template literals. (denoland/deno#8746) - dce: Handle throw statement correctly. (denoland/deno#8736)
6 lines
203 B
TypeScript
6 lines
203 B
TypeScript
import { instanceof as x } from "./dep";
|
|
// Second import is required, otherwise the value is inlined instead of
|
|
// being put in an invalid local variable.
|
|
import * as y from "./dep";
|
|
|
|
console.log(x, y); |