Slight updates to cv rev3
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Successful in 20s
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Successful in 20s
This commit is contained in:
parent
900888ee07
commit
9192790978
6 changed files with 37 additions and 53 deletions
|
@ -1,28 +1,31 @@
|
|||
import tailwindcss from "@tailwindcss/vite";
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { defineConfig } from 'vite';
|
||||
import { sveltekit } from "@sveltejs/kit/vite";
|
||||
import { defineConfig } from "vite";
|
||||
import path from "path";
|
||||
|
||||
const buildTime = new Intl.DateTimeFormat('da-DK', {
|
||||
day: '2-digit',
|
||||
month: '2-digit',
|
||||
year: 'numeric',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit',
|
||||
hour12: false,
|
||||
timeZone: 'Europe/Copenhagen'
|
||||
const buildTime = new Intl.DateTimeFormat("da-DK", {
|
||||
day: "2-digit",
|
||||
month: "2-digit",
|
||||
year: "numeric",
|
||||
hour: "2-digit",
|
||||
minute: "2-digit",
|
||||
hour12: false,
|
||||
timeZone: "Europe/Copenhagen",
|
||||
}).format(new Date());
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [tailwindcss(), sveltekit()],
|
||||
define: {
|
||||
__BUILD_TIME__: JSON.stringify(buildTime)
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@images": path.resolve("./src/images"),
|
||||
"@src": path.resolve("./src"),
|
||||
"@static": path.resolve("./static"),
|
||||
}
|
||||
}
|
||||
plugins: [tailwindcss(), sveltekit()],
|
||||
define: {
|
||||
__BUILD_TIME__: JSON.stringify(buildTime),
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@images": path.resolve("./src/images"),
|
||||
"@src": path.resolve("./src"),
|
||||
"@static": path.resolve("./static"),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
allowedHosts: ["development2.deprived.dev"],
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue