LivelyKernel / lively4-core

A Self-supporting, Web-based Development Environment
https://lively-kernel.org/lively4/lively4-core/start.html
MIT License
77 stars 25 forks source link

Relative js import in markdown works differently in container and lively-markdown #410

Open onsetsu opened 4 years ago

onsetsu commented 4 years ago

e.g. in .md file

<script>
  import { something } from './../relative.js';
</script>

Refers to correct file in view mode in a container, but is resolved relative from lively4url in a lively-markdown component outside a container:

image