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
I configured as guided by the document and I debugged this plugin, found that it does have commented all matching conditional parts.
However, the final bundle file does not have commented.
source
// #if process.env.APP_NAME === 'M' alert('Hello M'); // #endif // #if process.env.APP_NAME === 'U' alert('Hello U'); // #endif
debug output:
// #if process.env.APP_NAME === 'M' // alert('Hello M'); // #endif // #if process.env.APP_NAME === 'U' // alert('Hello U'); // #endif
bundle js:
AComponent.prototype.onTap = function () { var _this = this; // #if process.env.APP_NAME === 'M' alert('Hello M'); // #endif // #if process.env.APP_NAME === 'U' alert('Hello U'); // #endif
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I configured as guided by the document and I debugged this plugin, found that it does have commented all matching conditional parts.
However, the final bundle file does not have commented.
source
debug output:
bundle js:
The text was updated successfully, but these errors were encountered: