Closed futurist closed 6 years ago
When using <script type="module" src="https://unpkg.com/flyd@0.2.8"> feature in browser, throw an exception:
<script type="module" src="https://unpkg.com/flyd@0.2.8">
require is not defined
Demo here
The packed version flyd.js also not compatible with type=module script, this is a break from ES module system.
flyd.js
type=module
Should upgrade the bundle system to reflect both ES Module and classic UMD way.
When using
<script type="module" src="https://unpkg.com/flyd@0.2.8">
feature in browser, throw an exception:Demo here
The packed version
flyd.js
also not compatible withtype=module
script, this is a break from ES module system.Should upgrade the bundle system to reflect both ES Module and classic UMD way.