From 452aab8178afebb9c25c528d648888d73054a52b Mon Sep 17 00:00:00 2001 From: Michael Mok Date: Thu, 2 Apr 2020 03:48:57 +0800 Subject: [PATCH] fix: allow overlay to dismiss on build with warnings --- src/runtime/ErrorOverlayEntry.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/ErrorOverlayEntry.js b/src/runtime/ErrorOverlayEntry.js index 2430f5f0..b6a15709 100644 --- a/src/runtime/ErrorOverlayEntry.js +++ b/src/runtime/ErrorOverlayEntry.js @@ -61,6 +61,9 @@ function handleCompileErrors(errors) { function compileMessageHandler(message) { switch (message.type) { case 'ok': + case 'still-ok': + case 'warnings': + // TODO: Implement handling for warnings handleCompileSuccess(); break; case 'errors':