Fix for parcel error while building examples
This commit is contained in:
@@ -181,8 +181,7 @@
|
||||
|
||||
<div class="row-fluid">
|
||||
<h5 class="source-heading">main.js</h5>
|
||||
<pre><code id="example-js-source" class="language-js">import 'ol/ol.css';
|
||||
{{ js.source }}</code></pre>
|
||||
<pre><code id="example-js-source" class="language-js">{{ js.source }}</code></pre>
|
||||
</div>
|
||||
|
||||
<div class="row-fluid">
|
||||
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user