Skip to content

Commit 8c89c36

Browse files
authored
fix: remove default export setup (#207)
1 parent c2049ef commit 8c89c36

8 files changed

Lines changed: 1374 additions & 27 deletions

File tree

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
end_of_line = lf

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ build-library:
22
npx @svgr/cli --out-dir build src
33
rm -rf asset/*
44
npx tsup
5-
npx vite build
5+
npx vite build
6+
node ./scripts/exports.mjs
7+

app/app.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import React from "react";
22
import * as Kit from "@washingtonpost/wpds-ui-kit";
3-
import * as AllAssets from "./../build";
3+
import * as AllAssets from "./../asset";
44
import { Upload } from "./upload";
55
import { ErrorBoundary } from "./errors";
66

7+
console.log(AllAssets)
8+
79
const Section = Kit.styled("section", {
810
display: "grid",
911
gridTemplateColumns: "repeat(auto-fit, minmax(300px, 1fr))",

0 commit comments

Comments
 (0)