diff --git a/ivette/src/dome/main/dome.ts b/ivette/src/dome/main/dome.ts
index bdc926faab8066c4bde3bf0740e0dfa823c6e4f3..1203601813d1d92be77580251f38e7dc52968152 100644
--- a/ivette/src/dome/main/dome.ts
+++ b/ivette/src/dome/main/dome.ts
@@ -61,6 +61,11 @@ import SYS, * as System from 'dome/system';
 import { URL } from 'url';
 import * as Menubar from './menubar';
 
+// The __static path is provided by webpack at execution time, but the static
+// type system is not aware of that for now. This is a workaround to avoid
+// an error during compilation.
+declare const __static: string;
+
 // --------------------------------------------------------------------------
 // --- System Helpers
 // --------------------------------------------------------------------------