Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add alias config #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

wangjue666
Copy link

Description

为了使用 alias,需要同时在 unbuildvitesttsconfig 中进行配置,因此我为项目添加了基础的 alias 配置。

在使用 alias 语法后,例如:

import { anyHelp } from '@/help'

unbuild 在打包会提示 warning, 这是官方仓库的相关[issues](unjs/unbuild#201), 他们在v3.0.0-rc2进行了修复, 所以我也升级了unbuild的依赖

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant