From 864e9e5c5f8534e3e6588b78b7e6f5652d829eff Mon Sep 17 00:00:00 2001 From: "arkadiusz.gotfryd" Date: Sun, 8 May 2022 22:54:22 +0200 Subject: [PATCH] Fix for parcel error while building examples --- examples/templates/example.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/templates/example.html b/examples/templates/example.html index 496e1eb8cf..c8abb1558a 100644 --- a/examples/templates/example.html +++ b/examples/templates/example.html @@ -181,8 +181,7 @@
main.js
-
import 'ol/ol.css';
-{{ js.source }}
+
{{ js.source }}
@@ -198,6 +197,9 @@ <script src="https://cdn.polyfill.io/v3/polyfill.min.js?features=fetch,requestAnimationFrame,Element.prototype.classList,TextDecoder"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/core-js/3.18.3/minified.js"></script>{{#if extraHead.remote}} {{ indent extraHead.remote spaces=4 }}{{/if}} + <style> + @import "node_modules/ol/ol.css"; + </style> <style> .map { width: 100%;