kit icon indicating copy to clipboard operation
kit copied to clipboard

Assets not output when imported in +page.server.ts

Open liegeandlief opened this issue 2 years ago • 0 comments

Describe the bug

I previously raised this bug - https://github.com/sveltejs/kit/issues/8224

It was closed because it was a duplicate of https://github.com/sveltejs/kit/issues/5240 which has been closed as resolved by https://github.com/sveltejs/kit/pull/9073

But this is still an issue for me. The problem doesn't occur when running the dev server only when running vite build and vite preview. I am using the

Is there something I need to do to get this to work?

Reproduction

See https://github.com/sveltejs/kit/issues/8224

Logs

No response

System Info

System:
    OS: macOS 13.3.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 76.92 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.volta/tools/image/node/18.16.0/bin/node
    Yarn: 3.3.0 - ~/.volta/tools/image/yarn/3.3.0/bin/yarn
    npm: 9.5.1 - ~/.volta/tools/image/npm/9.5.1/bin/npm
  Browsers:
    Chrome: 113.0.5672.92
    Firefox: 113.0
    Safari: 16.4
  npmPackages:
    @sveltejs/adapter-vercel: ^2.0.2 => 2.4.3
    @sveltejs/kit: ^1.0.0 => 1.16.3
    svelte: ^3.44.0 => 3.59.1
    vite: ^4.0.0 => 4.3.7

Severity

serious, but I can work around it

Additional Information

No response

liegeandlief avatar May 17 '23 18:05 liegeandlief