Add generated/ to .gitignore & fixes

This commit is contained in:
venashial
2022-08-03 00:24:08 -07:00
parent eeb2dc7fd8
commit e17eb02341
11 changed files with 86 additions and 7974 deletions

View File

@@ -4,17 +4,22 @@ import path from 'path';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [ preprocess ],
kit: {
adapter: adapter({
fallback: '200.html',
}),
preprocess: [preprocess],
kit: {
adapter: adapter({
fallback: '200.html'
}),
alias: {
$generated: path.resolve('./generated'),
$stores: path.resolve('./src/stores'),
}
alias: {
$generated: path.resolve('./generated'),
$stores: path.resolve('./src/stores'),
$assets: path.resolve('./src/assets'),
$components: path.resolve('./src/components'),
$layout: path.resolve('./src/layout'),
$lib: path.resolve('./src/lib'),
$styles: path.resolve('./src/styles')
}
}
};
export default config;