Updated
This commit is contained in:
parent
cfaafc1ee0
commit
4544c365bb
@ -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"
|
||||||
|
@ -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);
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
import Button from "./button";
|
|
||||||
import Box from "./box";
|
|
||||||
import Skeleton from "./skeleton";
|
|
||||||
|
|
||||||
export { Skeleton, Box, Button };
|
|
@ -1 +1,5 @@
|
|||||||
export * from "./components";
|
import Button from "./button";
|
||||||
|
import Box from "./box";
|
||||||
|
import Skeleton from "./skeleton";
|
||||||
|
|
||||||
|
export default { Skeleton, Box, Button };
|
||||||
|
@ -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",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user