jspm / generator

JSPM Import Map Generator
Apache License 2.0
167 stars 21 forks source link

The HTML generator crashes when the input HTML contains an empty importmap #113

Closed SimonMeskens closed 2 years ago

SimonMeskens commented 2 years ago

The following input will crash the HTML generator. This happens for all HTML files with an empty importmap:

<!DOCTYPE html>

<script type="importmap"></script>