Martin Kersten
Martin Kersten

Reputation: 5513

Multiple JavaScript files in Dart?

I ask myself if it is possible to split up a single dart.js into multiple files. I just seek a possibility to convert several independent used JavaScript components in something that is as reusable but yet independently used Dart equivalents.

Upvotes: 4

Views: 547

Answers (1)

Alexandre Ardhuin
Alexandre Ardhuin

Reputation: 76223

You can have a look at DeferredLibrary and the issue Enable dart2js to split output into N files to reduce initial download size (WARNING : the issue is not yet fixed).

Upvotes: 4

Related Questions