This commit is contained in:
Sambo Chea 2022-05-17 09:05:18 +07:00
parent cfaafc1ee0
commit 4544c365bb
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490
11 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@cubetiq/muui", "name": "@cubetiq/muui",
"version": "0.0.1-alpha.4", "version": "0.0.1-alpha.5",
"author": { "author": {
"name": "Sambo Chea", "name": "Sambo Chea",
"email": "sombochea@cubetiqs.com" "email": "sombochea@cubetiqs.com"

View File

@ -1,6 +1,6 @@
import { useState } from "react"; import { useState } from "react";
import "./App.css"; import "./App.css";
import { Button } from "./lib"; import Button from "./lib/button";
function App() { function App() {
const [count, setCount] = useState<number>(0); const [count, setCount] = useState<number>(0);

View File

@ -1,5 +0,0 @@
import Button from "./button";
import Box from "./box";
import Skeleton from "./skeleton";
export { Skeleton, Box, Button };

View File

@ -1 +1,5 @@
export * from "./components"; import Button from "./button";
import Box from "./box";
import Skeleton from "./skeleton";
export default { Skeleton, Box, Button };

View File

@ -19,6 +19,7 @@ export default defineConfig({
// Provide global variables to use in the UMD build for externalized deps // Provide global variables to use in the UMD build for externalized deps
globals: { globals: {
react: "React", react: "React",
"react-dom": "ReactDOM",
}, },
}, },
}, },