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
_FULL_SCRIPT_NAME
context.this_script
currently
export default () => _FULL_SCRIPT_NAME
becomes (with --no-minify)
--no-minify
function(..._08426x6eyov_PARAMS_) { let [] = _08426x6eyov_PARAMS_, [_08426x6eyov_SCRIPT_USER_] = _08426x6eyov_PARAMS_[0].this_script.split(".") return _08426x6eyov_SCRIPT_USER_ + ".my_script" }
which is a bit unnecessary.
ideally it should become something like
function(..._08426x6eyov_PARAMS_) { let [] = _08426x6eyov_PARAMS_, _08426x6eyov_FULL_SCRIPT_NAME_ = _08426x6eyov_PARAMS_[0].this_script return _08426x6eyov_FULL_SCRIPT_NAME_ }
and terser can take care of the rest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
currently
becomes (with
--no-minify
)which is a bit unnecessary.
ideally it should become something like
and terser can take care of the rest
The text was updated successfully, but these errors were encountered: