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
in order to support babel-plugin-import plugin ,I need to give different option depends on BUILD_TARGET
babel-plugin-import
## for server ['import', { libraryName: 'antd'}] ## for client ['import',{libraryName: 'antd', style: true}]
but it seems that process.env.BUILD_TARGET is undefined in babel.config.js, how can I use BUILD_TARGET in babel.config.js
The text was updated successfully, but these errors were encountered:
@hardfist I made a PR to do that here
Sorry, something went wrong.
fixed in #1108
Successfully merging a pull request may close this issue.
in order to support
babel-plugin-import
plugin ,I need to give different option depends on BUILD_TARGETbut it seems that process.env.BUILD_TARGET is undefined in babel.config.js, how can I use BUILD_TARGET in babel.config.js
The text was updated successfully, but these errors were encountered: