Signed-off-by: WenjiaoYue <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> Co-authored-by: WenjiaoYue <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> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
28 lines
626 B
JavaScript
28 lines
626 B
JavaScript
// Copyright (C) 2025 Intel Corporation
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import adapter from "@sveltejs/adapter-auto";
|
|
import preprocess from "svelte-preprocess";
|
|
import postcssPresetEnv from "postcss-preset-env";
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: preprocess({
|
|
sourceMap: true,
|
|
postcss: {
|
|
plugins: [postcssPresetEnv({ features: { "nesting-rules": true } })],
|
|
},
|
|
}),
|
|
|
|
kit: {
|
|
adapter: adapter(),
|
|
env: {
|
|
publicPrefix: "",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|