Multiple JavaScript files in Dart?

530 views Asked by At

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.

1

There are 1 answers

2
Alexandre Ardhuin On

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).