[Pas2js] Integrate the DFM2PAS serialization in pas2js compiler.
Tomislav Avramovic
tom at halkyon.com
Tue Mar 6 13:19:36 CET 2018
I think this future is best to be part of pas2js!
WebApp<>BinApp
Integrate lfm as resource as in Delphi/Lazarus is not necessary
complication and add too much code, just to create and initialize some
components/controls.
TMS chose right path dfm2pas (keep it simple).
If this future is missing in pas2js then we must create
precompiler/preprocessor to convert working pas source to build pas
source and then compile second build pas source with pas2js.
Looking in the generated js code there is a lot of dead code.
Is there any option or plan to optimize generated code to include only
used code?
More information about the Pas2js
mailing list