Skip to content

Commit

Permalink
2024-09-15T11-04-14
Browse files Browse the repository at this point in the history
  • Loading branch information
sspilleman committed Sep 15, 2024
1 parent f0f95fb commit 695c8bc
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ jobs:
uses: denoland/deployctl@v1
with:
project: 'spm'
entrypoint: 'mod.ts' # 📝 Update the entrypoint if necessary
# entrypoint: 'mod.ts' # 📝 Update the entrypoint if necessary
entrypoint: 'index.js' # 📝 Update the entrypoint if necessary
root: 'build' # 📝 Update the root if necessary
128 changes: 128 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
import adapter from 'svelte-adapter-deno';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('svelte-adapter-deno').AdapterOptions} */
const adapterOptions = {
out: 'build',
precompress: false,
envPrefix: '',
deps: './deps.ts' // (relative to adapter-deno package)
};

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
Expand All @@ -13,7 +21,7 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
adapter: adapter(adapterOptions)
}
};

Expand Down

1 comment on commit 695c8bc

@deno-deploy
Copy link
Contributor

@deno-deploy deno-deploy bot commented on 695c8bc Sep 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/deps.ts".

Please sign in to comment.