Skip to content

problem with jsrequire and relative path. #58

@francescoagati

Description

@francescoagati

hello,
how can import a relative path with genes?
for example i have create a project and in this file haxe https://github.com/francescoagati/test-genes-dts2hx/blob/main/src/subora/Subora.hx

genes create this file
https://github.com/francescoagati/test-genes-dts2hx/blob/main/subora/Subora.js

where there is an import of View1 (import * as View1 from "./views/view1") generate with dts2hx (https://github.com/francescoagati/test-genes-dts2hx/blob/main/externs/views/View1.hx) that create this jsqrequire (@:jsRequire("./views/view1"))

there is a mode with genes for have all imports not bases on a relative path but from an absolute path?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions