aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/export.js
blob: fe0abfa53eb621b33ec8b73844b93a7f96075c13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import what from "./_auth";
export { default as auth } from "./_auth";
export { default as login } from "./_login";
export * from "./_bacon";
export let yoyoyo = "yoyoyo";
export default function hey() {
  return true;
}
export const foo = () => {};
export var bar = 100;
export let powerLevel = Symbol("9001");
export { what };
export { what as when, what as whence };
export {} from "./_bacon";
export * as where from "./_auth";
export { bar as booop };

export function test() {
  hey();
  foo();
  if (where.default !== "hi") {
    throw new Error(`_auth import is incorrect.`);
  }
  console.assert(
    powerLevel.description === "9001",
    "Symbol is not exported correctly"
  );
  return testDone(import.meta.url);
}
fetch-cache'>wip-fetch-cache Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs/src/pages/reference/cli-reference.md (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2021-10-14Expose Vue component names for devtools (#1512)Gravatar Levi 3-3/+10
2021-10-14Fix type error in blog-multiple-authors example (#1553)Gravatar Yoshiaki Togami 4-4/+9
2021-10-14Add Vercel sponsorship logo (#1555)Gravatar Drew Powers 8-48/+60
2021-10-14Include pnpm example on "Installation" page (#1554)Gravatar Henrique Borges 1-0/+5
2021-10-14Added descriptions to docs pages (#1550)Gravatar AsyncBanana 22-8/+28
2021-10-14Only run `.github/workflows/stats.yml` locally, not on forks (#1549)Gravatar Caleb Jasik 1-0/+1
2021-10-14[ci] collect statsGravatar FredKSchott 1-0/+1
2021-10-13Add Community Themes and separate Featured Theme (#1543)Gravatar Mark Teekman 2-8/+30
2021-10-13Change publish date el to be more accessible (#1522)Gravatar AsyncBanana 2-2/+2
2021-10-13[ci] yarn formatGravatar matthewp 1-1/+1
2021-10-13docs: unify concepts in Spanish version (#1545)Gravatar Jorge del Casar 6-11/+11
2021-10-13[ci] yarn formatGravatar matthewp 1-1/+1