Skip to content

Commit 2cc488b

Browse files
committed
[Fix] Absence of types in the build (#29)
1 parent e71066d commit 2cc488b

File tree

10 files changed

+9
-9
lines changed

10 files changed

+9
-9
lines changed

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ node_modules
66
assets
77
.git
88
pages
9-
components
9+
page-components
1010
styles
1111
.next
1212
.rollup.cache
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pages/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import Head from "next/head";
22
import Select from "../src";
3-
import Header from "../components/Header";
4-
import Button from "../components/Button";
5-
import SelectContainer from "../components/SelectContainer";
3+
import Header from "../page-components/Header";
4+
import Button from "../page-components/Button";
5+
import SelectContainer from "../page-components/SelectContainer";
66
import { useCallback, useEffect, useState } from "react";
7-
import TailwindColors from "../components/TailwindColors";
8-
import Checkbox from "../components/Checkbox";
9-
import Alert from "../components/Alert";
10-
import { DarkLink, LightLink } from "../components/Link";
7+
import TailwindColors from "../page-components/TailwindColors";
8+
import Checkbox from "../page-components/Checkbox";
9+
import Alert from "../page-components/Alert";
10+
import { DarkLink, LightLink } from "../page-components/Link";
1111

1212
const MANGAS = [
1313
{

tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
module.exports = {
33
content: [
44
"./pages/**/*.{js,ts,jsx,tsx}",
5-
"./components/**/*.{js,ts,jsx,tsx}",
5+
"./page-components/**/*.{js,ts,jsx,tsx}",
66
"./src/**/*.{js,ts,jsx,tsx}"
77
],
88
theme: {

0 commit comments

Comments
 (0)