Initial commit
This commit is contained in:
21
svelte.config.js
Normal file
21
svelte.config.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import nodeAdapter from '@sveltejs/adapter-node';
|
||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
preprocess: vitePreprocess(),
|
||||
|
||||
kit: {
|
||||
adapter: nodeAdapter({
|
||||
// You can customize the Node.js adapter options here:
|
||||
// out: 'build', // Output directory for the build
|
||||
// precompress: false, // Whether to precompress assets
|
||||
// envPrefix: '', // Environment variable prefix
|
||||
}),
|
||||
alias: {
|
||||
$lib: 'src/lib'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user