Skip to content

Commit

Permalink
Revert "build: use version to setup build reproducibility (#595)"
Browse files Browse the repository at this point in the history
This reverts commit 617d456.
  • Loading branch information
mstrasinskis committed Feb 20, 2025
1 parent 617d456 commit 11412d9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import adapter from "@sveltejs/adapter-static";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
import { mdsvex } from "mdsvex";
import { readFileSync } from "node:fs";
import { fileURLToPath } from "node:url";

const file = fileURLToPath(new URL("package.json", import.meta.url));
const json = readFileSync(file, "utf8");
const { version } = JSON.parse(json);

/** @type {import('@sveltejs/kit').Config} */
const config = {
Expand All @@ -27,9 +21,6 @@ const config = {
serviceWorker: {
register: false,
},
version: {
name: version,
},
},
};

Expand Down

0 comments on commit 11412d9

Please sign in to comment.