Skip to content

Conversation

eight04
Copy link
Contributor

@eight04 eight04 commented Sep 13, 2018

If we compile Stylus through a compressor supporting variable name mangling (e.g. terser), Stylus would fail to handle keyword arguments because they are extracted from the source code.

This PR defines a params property to store function arguments. utils.params is called if this property doesn't exist.

See also: openstyles/stylus-lang-bundle#3

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.

3 participants