Skip to content

Commit

Permalink
Fix lucide-vue-next build
Browse files Browse the repository at this point in the history
  • Loading branch information
ericfennis committed Oct 31, 2024
1 parent 3668b3d commit 35d9dc2
Show file tree
Hide file tree
Showing 5 changed files with 161 additions and 151 deletions.
16 changes: 14 additions & 2 deletions packages/lucide-vue-next/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,13 @@ export default [
format: 'es',
},
],
plugins: [dts()],
plugins: [
dts({
compilerOptions: {
preserveSymlinks: false,
},
}),
],
},
{
input: `src/${outputFileName}.prefixed.ts`,
Expand All @@ -93,7 +99,13 @@ export default [
format: 'es',
},
],
plugins: [dts()],
plugins: [
dts({
compilerOptions: {
preserveSymlinks: false,
},
}),
],
},
...configs,
];
2 changes: 1 addition & 1 deletion packages/lucide-vue-next/src/Icon.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type FunctionalComponent, h } from 'vue';
import { mergeClasses, toKebabCase } from '@lucide/shared';
import { toKebabCase } from '@lucide/shared';
import defaultAttributes from './defaultAttributes';
import { IconNode, LucideProps } from './types';

Expand Down
2 changes: 1 addition & 1 deletion packages/lucide-vue-next/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"esModuleInterop": true,
"lib": ["ESNext", "DOM"],
"skipLibCheck": true,
"noEmit": true,
"noEmit": true
},
}
3 changes: 3 additions & 0 deletions packages/lucide/src/aliases/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from './aliases';
export * from './prefixed';
export * from './suffixed';
Loading

0 comments on commit 35d9dc2

Please sign in to comment.