Skip to content

Commit

Permalink
Yes
Browse files Browse the repository at this point in the history
  • Loading branch information
ConProgramming committed Feb 15, 2023
1 parent 47131dd commit 1bc1970
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vite/mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadEnv, type Plugin } from 'vite'
import { type ProcessPromise, $ as run$, cd as cd$, chalk } from "zx";
import { type ProcessPromise, $ as run$, cd as cd$, path, chalk } from "zx";
import globsync from "rollup-plugin-globsync";

const get_pyServerEndpointAsString = (modal_url: URL) => `
Expand Down Expand Up @@ -54,6 +54,8 @@ export async function sveltekit_modal(): Promise<Plugin[]> {
await kill_all_process();
},
async configureServer({ config }) {
const packagelocation = path.join(config.root, 'node_modules', 'sveltekit-modal', 'esm/src/vite');

run$.verbose = false;
run$.env.PYTHONDONTWRITEBYTECODE = '1';

Expand Down

0 comments on commit 1bc1970

Please sign in to comment.