From 0b32f999a6e18e6d63228646c955496f8a767ec8 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Sun, 17 Feb 2019 19:46:59 -0500 Subject: [PATCH] remove `onwarn` from readme --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 473186d424..7a66f36d16 100644 --- a/README.md +++ b/README.md @@ -84,8 +84,6 @@ The Svelte compiler optionally takes a second argument, an object of configurati | `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'` | | `preserveComments` | `boolean` | Include comments in rendering. Currently, only applies to SSR rendering. | `false` | -| | | | -| `onwarn` | `function` | Specify a callback for when Svelte encounters a non-fatal warning while compiling the component. Passed two arguments: the warning object, and another function that is Svelte's default onwarn handling. | (warning is logged to console) | ### Preprocessor options