pull/786/head v1.31.0
Rich Harris 7 years ago
parent cdb3713c0b
commit c7dda9ff79

@ -1,5 +1,9 @@
# Svelte changelog
## 1.31.0
* Add `legacy` compile option, which adds IE9 compatibility ([#773](https://github.com/sveltejs/svelte/issues/773))
## 1.30.0
* Update all component bindings simultaneously ([#760](https://github.com/sveltejs/svelte/issues/760))

@ -82,6 +82,7 @@ The Svelte compiler optionally takes a second argument, an object of configurati
| `dev` | `true`, `false` | Whether to enable run-time checks in the compiled component. These are helpful during development, but slow your component down. | `false` |
| `css` | `true`, `false` | Whether to include code to inject your component's styles into the DOM. | `true` |
| `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. | `{}` |
| `legacy` | `boolean` | Ensures compatibility with very old browsers, at the cost of some extra code |
| `onerror` | `function` | Specify a callback for when Svelte encounters an error while compiling the component. | (exception is thrown) |
| `onwarn` | `function` | Specify a callback for when Svelte encounters a non-fatal warning while compiling the component. | (warning is logged to console) |

@ -1,6 +1,6 @@
{
"name": "svelte",
"version": "1.30.0",
"version": "1.31.0",
"description": "The magical disappearing UI framework",
"main": "compiler/svelte.js",
"files": [

Loading…
Cancel
Save