Skip to content

Commit

Permalink
fix: Testing (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
incutonez authored Sep 21, 2024
1 parent 9e30456 commit c2c7489
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/BaseButton.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from "@/components/BaseButton.vue";
export { default as BaseButton } from "@/components/BaseButton.vue";
5 changes: 3 additions & 2 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"composite": true,
"allowSyntheticDefaultImports": true,
"target": "ES2022",
"useDefineForClassFields": true,
Expand All @@ -17,7 +16,7 @@
],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "Bundler",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand All @@ -32,8 +31,10 @@
}
},
"include": [
"src/components/BaseButton.ts",
"src/components/BaseButton.vue",
"src/components/BaseContextMenu.vue",
"src/components/BaseContextMenu.ts",
"src/types/components.ts",
"src/utils/menu.ts"
],
Expand Down
4 changes: 2 additions & 2 deletions vite/config.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default defineConfig({
outDir: "dist",
lib: {
entry: {
"components/BaseButton.vue": "src/components/BaseButton.ts",
"components/BaseContextMenu.vue": "src/components/BaseContextMenu.ts",
"components/BaseButton": "src/components/BaseButton.ts",
"components/BaseContextMenu": "src/components/BaseContextMenu.ts",
},
formats: ["es"],
},
Expand Down

0 comments on commit c2c7489

Please sign in to comment.