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: 条件编译,添加"preprocess.defines.js"钩子 #3222

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

Conversation

qzsiniong
Copy link

@qzsiniong qzsiniong commented Jan 24, 2022

通过在根目录下创建"preprocess.defines.js"文件(类似pages.js),以便扩展条件编译

#3216 (comment)

通过在根目录下创建"preprocess.defines.js"文件(类似pages.js),以便扩展条件编译
@PentaTea
Copy link

牛逼,刚想自己写就发现已经有pr了
顺便问一句在官方合并发版之前有没有方法先用上这个功能

@zhetengbiji
Copy link
Collaborator

牛逼,刚想自己写就发现已经有pr了 顺便问一句在官方合并发版之前有没有方法先用上这个功能

有:npm patch

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.

None yet

3 participants