Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yapcheahshen committed Jun 15, 2022
1 parent 6e94559 commit 8ad95e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const updateNeeded=async (srcfn: string, buildfn: string)=>{
}
// Function to run when given build command
export const BuildProject = async (flag: string, cwd = Deno.cwd(), path = '/src/App.svelte') => { // C:\\Users\\Tanner\\Documents\\GitHub\\NOVAS2\\tests\\src\\App.svelte
const sveltePath = "https://cdn.skypack.dev/svelte@3.48.0";
const sveltePath = "https://cdn.skypack.dev/svelte@3.42.3";
const encoder = new TextEncoder();
const fullPath = join(cwd, path);
const memoized: { [key: string]: boolean } = {};
Expand Down
4 changes: 2 additions & 2 deletions compiler/compiler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { compile } from "https://cdn.skypack.dev/svelte@3.48.0/compiler.mjs";
import { compile } from "https://cdn.skypack.dev/svelte@3.42.3/compiler.mjs";
import { join } from "https://deno.land/std@0.113.0/path/mod.ts";

const getOptions = async () => {
Expand All @@ -11,7 +11,7 @@ const getOptions = async () => {
// All options: https://svelte.dev/docs#svelte_compile
options = {
generate: "dom",
sveltePath: "https://cdn.skypack.dev/svelte@3.48.0",
sveltePath: "https://cdn.skypack.dev/svelte@3.42.3",
hydratable: true,
};
}
Expand Down
2 changes: 1 addition & 1 deletion templates/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ export const vscodeDenoSettings = `{

export const defaultConfigFile =`{
"generate": "dom",
"sveltePath": "https://cdn.skypack.dev/svelte@3.48.0",
"sveltePath": "https://cdn.skypack.dev/svelte@3.42.3",
"hydratable": true,
}`

0 comments on commit 8ad95e9

Please sign in to comment.