Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
Nettoyage
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricr committed Jul 15, 2023
1 parent 238249f commit 32173bb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import preprocess from 'svelte-preprocess';
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';

const dev = process.argv.includes('dev');

/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [
Expand All @@ -19,10 +17,7 @@ const config = {
assets: 'build',
fallback: null,
precompress: false,
strict: true,
paths: {
base: dev ? '' : process.env.BASE_PATH
}
strict: true
})
},
onwarn(warning, defaultHandler) {
Expand Down

0 comments on commit 32173bb

Please sign in to comment.