Skip to content

Does epScript allow relative path import? #14

@KanzakiYui

Description

@KanzakiYui

As far I can see, it only allows absolute path import (root is at entry point).

For example:

main/
    lib/
        lib/unit
            lib/unit/order
                lib/unit/order/castYamatoGun
                lib/unit/order/castPlague

When we wanna import from castYamatoGun into castPlague, we still needs to:

import lib.unit.order.castYamatoGun
// then castYamatoGun.methodX(...)

while they are in the same folder, why don't we allow:

import ./castYamatoGun

instead?

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