Skip to content

Commit

Permalink
fix: Testing Using 2 Components (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
incutonez authored Sep 21, 2024
1 parent 2bc0ebe commit d4ccdb2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/components/BaseButton.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as BaseButton } from "@/components/BaseButton.vue";
1 change: 1 addition & 0 deletions src/components/BaseContextMenu.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as BaseContextMenu } from "@/components/BaseContextMenu.vue";
8 changes: 4 additions & 4 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
}
},
"include": [
"src/**/*.js",
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"src/components/BaseButton.vue",
"src/components/BaseContextMenu.vue",
"src/types/components.ts",
"src/utils/menu.ts"
],
"exclude": ["node_modules", "src/App.vue", "src/main.ts", "src/router.ts", "src/assets/theme", "src/indices"],
}
4 changes: 2 additions & 2 deletions vite/config.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import svgLoader from "vite-svg-loader";
export default defineConfig({
base: "/core-ui/",
plugins: [vue(), svgLoader(), dts({
rollupTypes: true,
tsconfigPath: "tsconfig.build.json",
})],
resolve: {
Expand All @@ -29,7 +28,8 @@ export default defineConfig({
outDir: "dist",
lib: {
entry: {
index: "src/index.ts",
"components/BaseButton.vue": "src/components/BaseButton.ts",
"components/BaseContextMenu.vue": "src/components/BaseContextMenu.ts",
},
formats: ["es"],
},
Expand Down

0 comments on commit d4ccdb2

Please sign in to comment.