I trying the linklib directive, and the import don’t apper in the JS file. I tried like this {$linklib MyLibFile.js MyLib} -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230424/c9549c42/attachment.htm>