generator.client.svelte.svelte.config.js.mustache Maven / Gradle / Ivy
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