Skip to content

Commit

Permalink
remove deprecated onerror option from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Conduitry authored Nov 13, 2018
1 parent 5cc45c1 commit 28dd6a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ The Svelte compiler optionally takes a second argument, an object of configurati
| `globals` | `object`, `function` | When outputting to the `'umd'`, `'iife'` or `'eval'` formats, an object or function mapping the names of imported dependencies to the names of global variables. | `{}` |
| `preserveComments` | `boolean` | Include comments in rendering. Currently, only applies to SSR rendering | `false` |
| | | |
| `onerror` | `function` | Specify a callback for when Svelte encounters an error while compiling the component. Passed two arguments: the error object, and another function that is Svelte's default onerror handling. | (exception is thrown) |
| `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
Expand Down

0 comments on commit 28dd6a8

Please sign in to comment.