Skip to content

Literal string includes require('path') cause could not resolve lua source file error #1508

@XavierCHN

Description

@XavierCHN

Example

A lua file ./src/foo.lua which includes

local usage_hint = [[include this module `const a = require('lib_name')]]

and included in tstl will result in an error error TSTL: Could not resolve lua source files for require path

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugscope: transpileAny transpilation not directly related to code transforms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions