Skip to content

Add alias config for path #16

Description

@risenW
import Image from "../../src/image/image-proc";
import {stdCalc} from "../../src/image/utils";
import Image from "../../../src/image/image-proc";
import {stdCalc} from "../../../src/image/utils";

This relative path looks too long, shall we have an alias config for the directory "../../../src" as "@/image/utils"?

Suggestion: Usen the package module-alias

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