mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
24 lines
495 B
TypeScript
24 lines
495 B
TypeScript
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @target: es5
|
||
|
// @outDir: ./out
|
||
|
// @declaration: true
|
||
|
// @filename: items.js
|
||
|
export const a = 1;
|
||
|
export const b = 2;
|
||
|
export const c = 3;
|
||
|
|
||
|
// @filename: justone.js
|
||
|
export { a, b, c } from "./items";
|
||
|
|
||
|
// @filename: two.js
|
||
|
export { a } from "./items";
|
||
|
export { b, c } from "./items";
|
||
|
|
||
|
// @filename: multiple.js
|
||
|
export {a, b} from "./items";
|
||
|
export {a as aa} from "./two";
|
||
|
export {b as bb} from "./two";
|
||
|
export {c} from "./two"
|
||
|
export {c as cc} from "./items";
|