mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-06 21:53:57 -05:00
Updated for deployment
This commit is contained in:
@@ -19,7 +19,7 @@ export default defineConfig({
|
||||
dts({
|
||||
include: ["lib"],
|
||||
tsconfigPath: "./tsconfig.lib.json",
|
||||
outDir: "dist/types"
|
||||
rollupTypes: true
|
||||
})
|
||||
],
|
||||
resolve: {
|
||||
@@ -32,7 +32,7 @@ export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: resolve(__dirname, "lib/index.ts"),
|
||||
formats: [ "es" ],
|
||||
formats: [ "cjs", "es" ],
|
||||
name: "Mattrixwv Component Library"
|
||||
},
|
||||
rollupOptions: {
|
||||
@@ -40,7 +40,7 @@ export default defineConfig({
|
||||
"react",
|
||||
"react-dom",
|
||||
"react/jsx-runtime",
|
||||
...Object.keys(peerDependencies)
|
||||
...Object.keys(peerDependencies).map(dep => dep.toString())
|
||||
],
|
||||
output: {
|
||||
globals: {
|
||||
|
||||
Reference in New Issue
Block a user