261a6edf4f
Update all the NPM dependencies used by the Admin UI. The dev dependencies correspond to the ones that are currently used by an svelte app generated with the last svelte-kit version. They deprecated some configuration options and changed some svelte directives. The only non-dev dependency is also updated to the last published. Change-Id: I5f2192cab41e00efc3239237f8dc8f3d07816b63
23 lines
447 B
JavaScript
23 lines
447 B
JavaScript
// Copyright (C) 2021 Storj Labs, Inc.
|
|
|
|
import adapter from '@sveltejs/adapter-static';
|
|
import preprocess from 'svelte-preprocess';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: preprocess(),
|
|
|
|
kit: {
|
|
adapter: adapter(),
|
|
vite: {
|
|
resolve: {
|
|
preserveSymlinks: true
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|