Skip to content

Dynamic import in +layout.js not necessary anymore #9451

@PatrickG

Description

@PatrickG

Hi, I was just scrolling through the code a bit and saw this:

	// TODO: Find a workaround to avoid this dynamic import
	// https://github.com/sveltejs/kit/issues/905
	const defaultPath = await (await import('@tauri-apps/api/path')).homeDir();

I wanted to let you guys know that this is no longer necessary.
See sveltejs/kit#13684

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIAny broken visuals like layouts, colors etc.feedback requestedFeedback was requested to help resolve the issuehelp wantedWe would love you to get involved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions