Skip to content
Discussion options

You must be logged in to vote

1 & 2. You should be able to place these files in src/lib and import the filepaths such as

const msgpackFiles = import.meta.glob('$lib/data/*.msp');

https://vitejs.dev/guide/features.html#glob-import

  1. You should be able to configure the build path (I haven't test this).
    https://kit.svelte.dev/docs/adapter-static#options-pages
import adapter from '@sveltejs/adapter-static';
 
export default {
  kit: {
    adapter: adapter({
      pages: '../../somewhere/outside',
    })
  }
};

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@eecue
Comment options

@eecue
Comment options

@teemingc
Comment options

teemingc Feb 4, 2023
Collaborator

Answer selected by eecue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants