-
Notifications
You must be signed in to change notification settings - Fork 913
Closed
numselli/portfolio
#18Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- Operating System: Windows_NT
- Node Version: v20.11.0
- Nuxt Version: 3.12.4
- CLI Version: 3.12.0
- Nitro Version: 2.9.7
- Package Manager: [email protected]
- Builder: -
- User Config: compatibilityDate, devtools, modules, typescript, nitro, alias
- Runtime Modules: @nuxt/[email protected], @vueuse/[email protected], [email protected], @nuxt/[email protected], @nuxt/[email protected]
- Build Modules: -
Version
2.18.0
Reproduction
not needed
Description
The build output of this package starting from 2.18.0 makes internal imports from non-existing files which causes the types to not work (maybe other things aswell have not tried out but likely not as i didn't see such imports in js or vue files)
example Button.d.ts file
from 2.18.0
// file <pnpm symlink>\@nuxt\ui\dist\runtime\components\elements\Button.vue.d.ts
import type { PropType } from 'vue';
import type { ButtonColor, ButtonSize, ButtonVariant, Strategy } from '../../types.js'; // <- does not exist
declare const config: {
base: string;
font: string;
rounded: string;
truncate: string;
.
.
.from 2.18.3
// file <pnpm symlink>\@nuxt\ui\dist\runtime\components\elements\Button.vue.d.ts
import type { PropType } from 'vue';
import type { ButtonColor, ButtonSize, ButtonVariant, Strategy } from '../../types.js'; // <- does not exist
declare const config: {
base: string;
font: string;
rounded: string;
truncate: string;
.
.
.from 2.17.0
// file <pnpm symlink>\@nuxt\ui\dist\runtime\components\elements\Button.vue.d.ts
import type { PropType } from 'vue';
import type { ButtonSize, ButtonVariant } from '../../types'; // <- is working
declare const _default: import("vue").DefineComponent<{
type: {
type: StringConstructor;
default: string;
};
block: {
type: BooleanConstructor;
default: boolean;
};
label: {
type: StringConstructor;
default: null;
};
loading: {
type: BooleanConstructor;
.
.
.Additional context
No response
Logs
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working