dotlin-org/dotlin

Only generate Dart elements if necessary

wilkomanger opened this issue · 0 comments

Currently, Dart elements are always generated. For external dependencies, this is only necessary if the compiler hash/version has changed (because we put the dlib in the versioned pub-cache).

For the compiled project itself, the compiler hash/version should be checked, but it should also regenerate if any Dart files have changed.