We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcde2b1 commit c379357Copy full SHA for c379357
src/Header/index.ts
@@ -1,5 +1,6 @@
1
-export * from "./Header";
+export type { HeaderProps } from "./Header";
2
+import { Header, addHeaderTranslations } from "./Header";
3
-import { Header } from "./Header";
4
+export { Header, addHeaderTranslations };
5
6
export default Header;
src/scripts/list-exports.ts
@@ -39,8 +39,7 @@ const newExports = {
39
40
if (fs.lstatSync(path).isDirectory()) {
41
for (const ext of [".ts", ".tsx"] as const) {
42
- //const relativePath = pathJoin(basename, `index${ext}`);
43
- const relativePath = pathJoin(basename, `${basename}${ext}`);
+ const relativePath = pathJoin(basename, `index${ext}`);
44
45
if (!fs.existsSync(pathJoin(srcDirPath, relativePath))) {
46
continue;
0 commit comments