All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generator.client.svelte.svelte.config.js.mustache Maven / Gradle / Ivy

There is a newer version: 1.23.0
Show newest version
import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';

const config = {
  preprocess: preprocess(),

  kit: {
    adapter: adapter({
      pages: '{{projectBuildDirectory}}/classes/static/',
      assets: '{{projectBuildDirectory}}/classes/static/',
      fallback: 'index.html',
    }),
    appDir: '_app',
    files: {
      routes: 'src/main/webapp/routes',
      appTemplate: 'src/main/webapp/app.html',
      assets: 'src/main/webapp/assets',
      hooks: {
        server: 'src/main/webapp/hooks',
      },
      lib: 'src/main/webapp/lib',
      serviceWorker: 'src/main/webapp/service-worker',
    },
  },
};

export default config;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy