0.11.0 • Published 1 year ago

@sveltekit-cdk/adapter v0.11.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@sveltekit-cdk/adapter

npm version

WARNING: Not for production, yet!!

No compatibility between versions is garanteed while in initial development. It's recommended to use exact version in package.json to avoid suprices.

Intro

Prepare the artifacts for your SvelteKit site using this adapter.

Then use SvelteDistribution construct from @sveltekit-cdk/constructsv2 to include the site to your CDK stack.

Instructions

  1. In sveltekit project:
    > npm i -s @sveltekit-cdk/adapter
  2. In svelte.config.js

    import preprocess from 'svelte-preprocess';
    import { adapter } from '@sveltekit-cdk/adapter'
    
    const config = {
        preprocess: preprocess(),
    
        kit: {
            // hydrate the <div id="svelte"> element in src/app.html
            target: '#svelte',
            adapter: adapter({
                cdkProjectPath: '../the-cdk-project'
            })
        }
    };
    
    export default config;

Links

0.10.0

1 year ago

0.11.0

1 year ago

0.9.1

1 year ago

0.8.0

2 years ago

0.7.7

2 years ago

0.7.6

2 years ago

0.7.5

2 years ago

0.7.4

2 years ago

0.7.3

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.6.2

2 years ago

0.5.0

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago