We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现在的代码是这样的:
if (skr.features.foo) { // 代码 } console.log(skr.build.target);
模块化以后,期望是这样:
import {foo} from '@skr/features'; import {target} from '@skr/build'; if (foo) { // 代码 } console.log(target);
这个在SWC中可以用constModules搞定,但其它编译方案不知道有没有替代的
The text was updated successfully, but these errors were encountered:
No branches or pull requests
现在的代码是这样的:
模块化以后,期望是这样:
这个在SWC中可以用constModules搞定,但其它编译方案不知道有没有替代的
The text was updated successfully, but these errors were encountered: