0.2.0 • Published 2 months ago

sveltekit-adapter-node-iis v0.2.0

Weekly downloads
-
License
-
Repository
github
Last release
2 months ago

sveltekit-adapter-node-iis

An adapter for SvelteKit that expands the node-adapter for IIS. It is based on this StackOverflow answer.

Usage

Install the adapter

npm i -D sveltekit-adapter-node-iis

Use it in 'svelte.config.js'

import adapter from "sveltekit-adapter-node-iis";
 
export default {
  kit: {
    adapter: adapter()
  }
};

Options

The adapter has the same options as @sveltekit/node-adapter, as well as the following additional options | Option | Default | Describtion | | :----- | :------ | :---------- | | includePackage | true | Copies package.json and package-lock.json to the output directory. | | buildNodeModules | false | Builds node_modules in the output directory (npm ci --omit dev). Requires includePackage to be true. | | transferEnv | false | Copies .env to the output directory. |

Example using options

import adapter from "sveltekit-adapter-node-iis";
 
export default {
  kit: {
    adapter: adapter({buildNodeModules: true})
  }
};
0.1.2

2 months ago

0.2.0

2 months ago

0.1.1

5 months ago

0.1.0

9 months ago