datacook icon indicating copy to clipboard operation
datacook copied to clipboard

Add alias config for path

Open risenW opened this issue 4 years ago • 1 comments

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

risenW avatar Dec 16 '20 07:12 risenW

The "@/image/utils" conflicts with NPM scoped package, may we have another choose just like ~?

yorkie avatar Dec 28 '20 16:12 yorkie