-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Today the Typings package is huge because it bundles all lib bindings with it.
We could decouple them buy introducing some way for the dev to choose the libs it needs while also adding the option to choose the version.
Maybe something like this:
Consider the file typings.dart
@mt.MakeTypings([
mt.AnimeJS(),
mt.Deno(version: '1.2.3')
])
library foo;
import 'package:typings/make_typings.dart' as mt;Then it would generate the bindings in the .dart_tool folder:
typings.animejs.dart, typings.deno.dart
Pretty much like AngularDart does with its templates.
Please let me know if you have any ideas
leandroveronezi
Metadata
Metadata
Assignees
Labels
No labels