file_path
stringlengths
3
280
file_language
stringclasses
66 values
content
stringlengths
1
1.04M
repo_name
stringlengths
5
92
repo_stars
int64
0
154k
repo_description
stringlengths
0
402
repo_primary_language
stringclasses
108 values
developer_username
stringlengths
1
25
developer_name
stringlengths
0
30
developer_company
stringlengths
0
82
crates/swc_bundler/tests/fixture/deno-8584/input/deps.ts
TypeScript
export * as log from "./log";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8584/input/entry.ts
TypeScript
import { log } from "./deps"; await log.setup({});
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8584/input/log.ts
TypeScript
export async function setup() {} await setup();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8584/output/entry.inlined.ts
TypeScript
async function setup() {} await setup(); const mod = await async function() { return { setup: setup }; }(); await mod.setup({});
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8584/output/entry.ts
TypeScript
async function setup() {} await setup(); const mod = await async function() { return { setup: setup }; }(); await mod.setup({});
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8625/input/bar.ts
TypeScript
import { Foo } from "./foo"; const bar = Foo("bar"); export default bar;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8625/input/entry.ts
TypeScript
import * as foo from "./foo"; import bar from "./bar"; console.log(foo, bar);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8625/input/foo.ts
TypeScript
export function Foo(name: string) { return "foo" + name; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8625/output/entry.inlined.ts
TypeScript
function Foo(name) { return "foo" + name; } const mod = { Foo: Foo }; const bar = Foo("bar"); console.log(mod, bar);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8625/output/entry.ts
TypeScript
function Foo(name) { return "foo" + name; } const mod = { Foo: Foo }; const bar = Foo("bar"); console.log(mod, bar);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8626/1/input/entry.ts
TypeScript
import * as foo from "./mod.ts"; console.log(foo);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8626/1/input/mod.ts
TypeScript
const foo = "bar"; export { foo }; export const bar = 123;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8626/1/output/entry.inlined.ts
TypeScript
const foo = "bar"; const mod = function() { return { foo: foo, bar: 123 }; }(); console.log(mod);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8626/1/output/entry.ts
TypeScript
const foo = "bar"; const bar = 123; const mod = { foo: foo, bar: bar }; console.log(mod);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8627/input/entry.ts
TypeScript
let a = null, b = 2; console.log((a ??= b));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8627/output/entry.inlined.ts
TypeScript
let a = null, b = 2; console.log(a ??= b);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8627/output/entry.ts
TypeScript
let a = null, b = 2; console.log(a ??= b);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8679/input/entry.ts
TypeScript
import two from "./two.ts"; console.log(two);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8679/input/one.ts
TypeScript
export default "one"; export const one = "one";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8679/input/two.ts
TypeScript
export * from "./one.ts"; export { default } from "./one.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8679/output/entry.inlined.ts
TypeScript
const __default = "one"; console.log(__default);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8679/output/entry.ts
TypeScript
const __default = "one"; console.log(__default);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8680/input/dep.ts
TypeScript
const a = "hello world"; export { a as instanceof };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8680/input/entry.ts
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);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8680/output/entry.inlined.ts
TypeScript
const a = "hello world"; const mod = { instanceof: a }; console.log(a, mod);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8680/output/entry.ts
TypeScript
const a = "hello world"; const mod = { instanceof: a }; console.log(a, mod);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8734/input/entry.ts
TypeScript
const m = "test"; if (!m) { throw new Error("b"); } export class Comparator { constructor(comp: string, optionsOrLoose: any = {}) {} parse(comp: string): void { const m = "another"; if (!m) { throw new TypeError("Invalid comparator: " + comp); } const m1 = m[1...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8734/output/entry.inlined.ts
TypeScript
const m = "test"; if (!m) { throw new Error("b"); } class Comparator { constructor(comp, optionsOrLoose = {}){} parse(comp) { const m = "another"; if (!m) { throw new TypeError("Invalid comparator: " + comp); } const m1 = m[1]; console.log(m1); if ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8734/output/entry.ts
TypeScript
const m = "test"; if (!m) { throw new Error("b"); } class Comparator { constructor(comp, optionsOrLoose = {}){} parse(comp) { const m = "another"; if (!m) { throw new TypeError("Invalid comparator: " + comp); } const m1 = m[1]; console.log(m1); if ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8746/input/entry.ts
TypeScript
html`<p>This is my HTML</p>`;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8746/output/entry.inlined.ts
TypeScript
html`<p>This is my HTML</p>`;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8746/output/entry.ts
TypeScript
html`<p>This is my HTML</p>`;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8978/input/deps.ts
TypeScript
export const f = () => "hello world"; type f = number; export const any = f;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8978/input/entry.ts
TypeScript
import { any } from "./deps.ts"; export { any }; export type { any as t };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8978/output/entry.inlined.ts
TypeScript
const f = ()=>"hello world"; const any = f; export { any as any };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8978/output/entry.ts
TypeScript
const f = ()=>"hello world"; const any = f; export { any as any };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9055/keywords-1/input/entry.ts
TypeScript
const x = { n: 123, t: "text", int: "==INT==", }; const { n, t, int } = x; console.log(n, t, int);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9055/keywords-1/output/entry.inlined.ts
TypeScript
const x = { n: 123, t: "text", int: "==INT==" }; const { n, t, int: __int } = x; console.log(n, t, __int);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9055/keywords-1/output/entry.ts
TypeScript
const x = { n: 123, t: "text", int: "==INT==" }; const { n, t, int: __int } = x; console.log(n, t, __int);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9055/keywords-2/input/entry.ts
TypeScript
const x = { n: 123, t: "text", int: "==INT==", }; const { n, t, int = 5 } = x; console.log(n, t, int);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9055/keywords-2/output/entry.inlined.ts
TypeScript
const x = { n: 123, t: "text", int: "==INT==" }; const { n, t, int: __int = 5 } = x; console.log(n, t, __int);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9055/keywords-2/output/entry.ts
TypeScript
const x = { n: 123, t: "text", int: "==INT==" }; const { n, t, int: __int = 5 } = x; console.log(n, t, __int);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9076/input/entry.ts
TypeScript
class App { constructor() { console.log("Hello from app"); } } const app = new App();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9076/output/entry.inlined.ts
TypeScript
class App { constructor(){ console.log("Hello from app"); } } new App();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9076/output/entry.ts
TypeScript
class App { constructor(){ console.log("Hello from app"); } } new App();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9176/test-1/input/deps.ts
TypeScript
export class MyError extends Error { constructor() { super("I'm in?"); } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9176/test-1/input/entry.ts
TypeScript
import { MyError } from "./deps"; export function example() { throw new MyError(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9176/test-1/output/entry.inlined.ts
TypeScript
class MyError extends Error { constructor(){ super("I'm in?"); } } function example() { throw new MyError(); } export { example as example };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9176/test-1/output/entry.ts
TypeScript
class MyError extends Error { constructor(){ super("I'm in?"); } } function example() { throw new MyError(); } export { example as example };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9176/test-2/input/entry.ts
TypeScript
export { example } from "./only-throw";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9176/test-2/input/my-error.ts
TypeScript
export class MyError extends Error { constructor() { super("I'm in?"); } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9176/test-2/input/only-throw.ts
TypeScript
import { MyError } from "./my-error"; export function example() { throw new MyError(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9176/test-2/output/entry.inlined.ts
TypeScript
class MyError extends Error { constructor(){ super("I'm in?"); } } function example() { throw new MyError(); } export { example as example };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9176/test-2/output/entry.ts
TypeScript
class MyError extends Error { constructor(){ super("I'm in?"); } } function example() { throw new MyError(); } export { example as example };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9199/input/entry.ts
TypeScript
const heap = new Array(32).fill(undefined); heap.push(undefined, null, true, false); let heap_next = heap.length; function addHeapObject(obj) { if (heap_next === heap.length) heap.push(heap.length + 1); const idx = heap_next; heap_next = heap[idx]; heap[idx] = obj; return idx; } addHeapObject("hello...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9199/output/entry.inlined.ts
TypeScript
const heap = new Array(32).fill(undefined); heap.push(undefined, null, true, false); let heap_next = heap.length; function addHeapObject(obj) { if (heap_next === heap.length) heap.push(heap.length + 1); const idx = heap_next; heap_next = heap[idx]; heap[idx] = obj; return idx; } addHeapObject("hello...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9199/output/entry.ts
TypeScript
const heap = new Array(32).fill(undefined); heap.push(undefined, null, true, false); let heap_next = heap.length; function addHeapObject(obj) { if (heap_next === heap.length) heap.push(heap.length + 1); const idx = heap_next; heap_next = heap[idx]; heap[idx] = obj; return idx; } addHeapObject("hello...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case1/input/deps.ts
TypeScript
import * as lib from "./lib"; // exporting all functions export * from "./lib"; // exporting functions namespaced to segno export { lib };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case1/input/entry.ts
TypeScript
import { foo } from "./deps"; foo();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case1/input/lib-impl1.ts
TypeScript
export function foo() {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case1/input/lib.ts
TypeScript
export * from "./lib-impl1";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case1/output/entry.inlined.ts
TypeScript
function foo() {} foo();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case1/output/entry.ts
TypeScript
function foo() {} foo();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case2/input/entry.ts
TypeScript
import * as lib from "./lib"; // exporting all functions export * from "./lib"; // exporting functions namespaced to segno export { lib };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case2/input/lib-impl1.ts
TypeScript
export function foo() {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case2/input/lib.ts
TypeScript
export * from "./lib-impl1";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case2/output/entry.inlined.ts
TypeScript
function foo() {} export { foo as foo }; const mod = { foo }; export { mod as lib };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9200/case2/output/entry.ts
TypeScript
function foo() {} export { foo as foo }; const mod = { foo }; export { mod as lib };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9212/case1/input/entry.ts
TypeScript
import * as ReactDom from "https://esm.sh/react-dom@17.0.1"; import * as React from "https://esm.sh/react@17.0.1"; const { document } = window as any; ReactDom.render(React.createElement("p", null, "hello world!"), document.body);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9212/case1/output/entry.inlined.ts
TypeScript
var G = Object.create, _ = Object.defineProperty, J = Object.getPrototypeOf, K = Object.prototype.hasOwnProperty, Q = Object.getOwnPropertyNames, X = Object.getOwnPropertyDescriptor; var Z = (e)=>_(e, "__esModule", { value: !0 }); var g = (e, r)=>()=>(r || (r = { exports: {} }, e(r.expor...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9212/case1/output/entry.ts
TypeScript
var G = Object.create, _ = Object.defineProperty, J = Object.getPrototypeOf, K = Object.prototype.hasOwnProperty, Q = Object.getOwnPropertyNames, X = Object.getOwnPropertyDescriptor; var Z = (e)=>_(e, "__esModule", { value: !0 }); var g = (e, r)=>()=>(r || (r = { exports: {} }, e(r.expor...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9219/case1/input/entry.ts
TypeScript
import { parse } from "https://deno.land/std@0.84.0/flags/mod.ts"; const args = parse(Deno.args, { boolean: ["help", "verbose"], alias: { help: "h", verbose: "v", }, default: { verbose: false, }, }) as { _: string[]; help: boolean; verbose: boolean; }; console.d...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9219/case1/output/entry.inlined.ts
TypeScript
class DenoStdInternalError extends Error { constructor(message){ super(message); this.name = "DenoStdInternalError"; } } function assert(expr, msg = "") { if (!expr) { throw new DenoStdInternalError(msg); } } function get(obj, key) { if (Object.prototype.hasOwnProperty.call(o...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9219/case1/output/entry.ts
TypeScript
class DenoStdInternalError extends Error { constructor(message){ super(message); this.name = "DenoStdInternalError"; } } function assert(expr, msg = "") { if (!expr) { throw new DenoStdInternalError(msg); } } function get(obj, key) { if (Object.prototype.hasOwnProperty.call(o...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9220/case1/input/entry.ts
TypeScript
export * from "https://deno.land/x/jpegts@1.1/lib/decoder.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9220/case1/output/entry.inlined.ts
TypeScript
class Image { width; height; data; getPixel(x, y) { const index = x + y * this.width; const rntVal = { r: this.data[index * 4], g: this.data[index * 4 + 1], b: this.data[index * 4 + 2], a: this.data[index * 4 + 3] }; return ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9220/case1/output/entry.ts
TypeScript
class Image { width; height; data; getPixel(x, y) { const index = x + y * this.width; const rntVal = { r: this.data[index * 4], g: this.data[index * 4 + 1], b: this.data[index * 4 + 2], a: this.data[index * 4 + 3] }; return ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9250/case1/input/entry.ts
TypeScript
import { foo } from "./foo"; bar(); function bar() { console.log(foo); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9250/case1/input/foo.ts
TypeScript
export const foo = {};
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9250/case1/output/entry.inlined.ts
TypeScript
const foo = {}; bar(); function bar() { console.log(foo); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9250/case1/output/entry.ts
TypeScript
const foo = {}; bar(); function bar() { console.log(foo); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9346/input/entry.ts
TypeScript
import log from "./log"; cli(); export default async function cli() { log("It works!"); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9346/input/log.ts
TypeScript
export default function (message) { console.log(message); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9346/output/entry.inlined.ts
TypeScript
function __default(message) { console.log(message); } cli(); async function cli() { __default("It works!"); } export { cli as default };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9346/output/entry.ts
TypeScript
function __default(message) { console.log(message); } cli(); async function cli() { __default("It works!"); } export { cli as default };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9450/case1/input/entry.ts
TypeScript
import { setValue, value } from "./two"; setValue(); console.log(value);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9450/case1/input/three.ts
TypeScript
export let value = "old"; export function setValue() { value = "new"; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9450/case1/input/two.ts
TypeScript
export { value, setValue } from "./three";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9450/case1/output/entry.inlined.ts
TypeScript
let value = "old"; function setValue() { value = "new"; } setValue(); console.log(value);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9450/case1/output/entry.ts
TypeScript
let value = "old"; function setValue() { value = "new"; } setValue(); console.log(value);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9546/case1/input/entry.ts
TypeScript
import { a } from "./lib"; a();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9546/case1/input/lib.ts
TypeScript
export function a() { return "a"; } export function b() { return "b"; } export function c() { return b(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9546/case1/output/entry.inlined.ts
TypeScript
function a() { return "a"; } a();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9546/case1/output/entry.ts
TypeScript
function a() { return "a"; } a();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9560/case1/input/entry.ts
TypeScript
export { foo } from "./foo"; export { isWater } from "./things";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9560/case1/input/foo.ts
TypeScript
import * as things from "./things"; export function foo(x) { return things[x]; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9560/case1/input/things.ts
TypeScript
export const water = "Water"; export function isWater(x) { return x === water; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9560/case1/output/entry.inlined.ts
TypeScript
const water = "Water"; function isWater(x) { return x === water; } const mod = { water: water, isWater: isWater }; function foo(x) { return mod[x]; } export { foo as foo }; export { isWater as isWater };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9560/case1/output/entry.ts
TypeScript
const water = "Water"; function isWater(x) { return x === water; } const mod = { water: water, isWater: isWater }; function foo(x) { return mod[x]; } export { foo as foo }; export { isWater as isWater };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-9591/input/entry.ts
TypeScript
export * from "https://deno.land/x/dnit@dnit-v1.11.0/main.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University