sveltekit-adapter-node-iis
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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})
  }
};

Readme

Keywords

none

Package Sidebar

Install

npm i sveltekit-adapter-node-iis

Weekly Downloads

2

Version

0.2.0

License

none

Unpacked Size

4.8 kB

Total Files

6

Last publish

Collaborators

  • vuferen