stealjs / steal

Gets JavaScript
https://stealjs.com
MIT License
1.37k stars 522 forks source link

Prevent the "no main loaded" warning with inline scripts #1453

Closed matthewp closed 6 years ago

matthewp commented 6 years ago

There was a bug with inline scripts that caused the warning to be shown unless they were using ES module syntax. So the warning would show for CommonJS usage. This fixes that.