Updated config and packages
This commit is contained in:
parent
9be02019de
commit
4179da8753
1954
package-lock.json
generated
1954
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cubetiq/muui",
|
||||
"version": "0.0.1-alpha.2",
|
||||
"version": "0.0.1-alpha.3",
|
||||
"author": {
|
||||
"name": "Sambo Chea",
|
||||
"email": "sombochea@cubetiqs.com"
|
||||
@ -30,10 +30,6 @@
|
||||
"build": "tsc && vite build"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@emotion/react": "^11.x",
|
||||
"@emotion/styled": "^11.x",
|
||||
"@mui/icons-material": "^5.x",
|
||||
"@mui/material": "^5.x",
|
||||
"react": "^16.8.0 || 17.x || 18.x",
|
||||
"react-dom": "^16.8.0 || 17.x | 18.x"
|
||||
},
|
||||
|
@ -8,13 +8,13 @@ export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: path.resolve(__dirname, "src/lib/index.ts"),
|
||||
name: "muui",
|
||||
name: "MUUI",
|
||||
formats: ["es", "umd"],
|
||||
fileName: (format) => `muui.${format}.js`,
|
||||
},
|
||||
rollupOptions: {
|
||||
// externalize deps that shouldn't be bundled
|
||||
external: ["react", "react-dom", "@mui/icons-material", "@mui/material"],
|
||||
external: ["react", "react-dom"],
|
||||
output: {
|
||||
// Provide global variables to use in the UMD build for externalized deps
|
||||
globals: {
|
||||
|
Loading…
Reference in New Issue
Block a user