docs(CLAUDE.md): add code style section aligned with glyphdiff conventions
This commit is contained in:
27
svelte.config.js
Normal file
27
svelte.config.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import path from "node:path";
|
||||
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
||||
import adapter from "svelte-adapter-bun";
|
||||
|
||||
const config = {
|
||||
extensions: [".svelte"],
|
||||
preprocess: vitePreprocess({
|
||||
style: true,
|
||||
}),
|
||||
kit: {
|
||||
adapter: adapter(),
|
||||
files: {
|
||||
routes: "src/app/routes",
|
||||
},
|
||||
alias: {
|
||||
$lib: path.resolve("src/lib"),
|
||||
$shared: path.resolve("src/shared"),
|
||||
$pages: path.resolve("src/pages"),
|
||||
$features: path.resolve("src/features"),
|
||||
$entities: path.resolve("src/entities"),
|
||||
$widgets: path.resolve("src/widgets"),
|
||||
"$/*": "./src/*",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user