2

There’s a .precompiled.js file along .js and .js.map files the dart2js compiler produces. Compiling the code

void main() {
  print('Hello, stranger.');
}

results in identical .js and .precompiled.js files except that the latter contains the extra lines:

function dart_precompiled($collectedClasses){var $desc
return[]}

A Google search reveals nothing except some obscure issues in the tracker, referencing something called CSP, which in itself is unsearchable.

So, what this .precompiled.js is?

Joó Ádám
  • 909
  • 1
  • 11
  • 22
  • http://stackoverflow.com/questions/20314796 – Günter Zöchbauer Mar 22 '14 at 18:16
  • possible duplicate of [Which files are generated when executing \`dart2js\`? and why?](http://stackoverflow.com/questions/20314796/which-files-are-generated-when-executing-dart2js-and-why) – Fox32 Sep 18 '14 at 11:06

0 Answers0