From 01cb6c69204acae1823e7dfd9fcb9bf80330d88a Mon Sep 17 00:00:00 2001 From: Conduitry Date: Sun, 17 Feb 2019 19:49:32 -0500 Subject: [PATCH] add `sveltePath` to readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7a66f36d16..4648a50466 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ The Svelte compiler optionally takes a second argument, an object of configurati | `format` | `'esm'`, `'cjs'` | The format to output in the compiled component.
`'esm'` - ES6/ES2015 module, suitable for consumption by a bundler
`'cjs'` - CommonJS module | `'esm'` | | `name` | `string` | The name of the constructor in the compiled component. | `'SvelteComponent'` | | `filename` | `string` | The filename to use in sourcemaps and compiler error and warning messages. | `'SvelteComponent.html'` | +| `sveltePath` | `string` | The path to the root of the package used in `import`s generated by the compiler. | `'svelte'` | | `preserveComments` | `boolean` | Include comments in rendering. Currently, only applies to SSR rendering. | `false` | ### Preprocessor options