Merge pull request #116 from nikku/patch-1

Correct README to use onwarn
pull/120/head
Rich Harris 8 years ago committed by GitHub
commit 1d7bbf6c73

@ -43,7 +43,7 @@ const { code, map } = svelte.compile( source, {
console.error( err.message ); console.error( err.message );
}, },
onwarning: warning => { onwarn: warning => {
console.warn( warning.message ); console.warn( warning.message );
} }
}); });

Loading…
Cancel
Save