mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-03 14:48:17 +00:00

- Remove Tauri client. It was useful when initially prototyping the Web Component, but now it’s more of a maintenance burden. It’s notably not convenient to check in CI. Since we now have another native alternative that does not require any GPU (`ironrdp-client`), it’s probably a good time to part ways. - Move wasm package into the workspace. - Move Rust crates into a `crates` subfolder. - Introduce `xtask` crate for free-form automation.
24 lines
729 B
JavaScript
24 lines
729 B
JavaScript
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({
|
|
// default options are shown. On some platforms
|
|
// these options are set automatically — see below
|
|
pages: process.env.MODE === "tauri" ? "build/tauri" : 'build/browser',
|
|
assets: process.env.MODE === "tauri" ? "build/tauri" : 'build/browser',
|
|
fallback: null,
|
|
precompress: false,
|
|
strict: true
|
|
})
|
|
// appDir: process.env.MODE === "tauri" ? "tauri" : "_app",
|
|
}
|
|
};
|
|
|
|
export default config;
|