Open a-bahdanau opened 1 month ago
Do you mean that there should be a separate directory, say compilables
, that contains the .compile.ts
files?
Yep, if it does not break some internals
I think the internals won't be broken, but we must make it so this change is backward compatible. One way I see is to add an optional field to the config, something like separateCompilables
, which would be false by default (if not specified); then the new projects will be generated with a config with this field = true by default, and the old projects would still work fine.
It is not intuitive that compile file should be located in wrappers directory. Also it will be easier to setup workflow to share wrappers with someone(npm or just simple copypaste of wrappers dir)