remove `onwarn` from readme

pull/1953/head
Conduitry 7 years ago
parent c92df84e64
commit 0b32f999a6

@ -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'` | | `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'` | | `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` | | `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 ### Preprocessor options

Loading…
Cancel
Save