[Pas2js] PAS2JSDSGN project Options
Michael Van Canneyt
michael at freepascal.org
Sat Dec 8 13:06:19 CET 2018
On Sat, 8 Dec 2018, warleyalex via Pas2js wrote:
> If I set in the config:
>
> Project Options --> Config and Target --> Target OS --> "Default" instead of
> "Browser"
>
> I can drag n' drop any visual components and I don't have to remove the
> "webcomponents" as Required package to use the widgets.
Yes, because the IDE will then compile the webcomponents package using the
regular FPC compiler. The pas2js compiler doesn't know the webcomponents
package, so it can compile your project.
This works but is of course conceptually totally wrong. Packages should
simply work for the target they are intended for.
It needs to be fixed properly.
Michael.
More information about the Pas2js
mailing list