Skip to content

Investigate why LuaLib doesn't build correctly without build-lualib.js #1232

@lolleko

Description

@lolleko

I have no clue why it's not working tbh, it seems like only node build-lualib.js builds the correct dependency json, if I run node dist/tstl.js or ts-node src/tstl.ts it seems that the module dependency list is not being built correctly. My guess is that it's because for lualib modules we use a constant map at module level, and I'm afraid node might somehow be reloading it when we don't want to, but the way build-lualib is set up now somehow makes it work

Perry on Discord

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions