Skip to content
New issue

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

* extension #10

Open
TrySound opened this issue Jun 3, 2017 · 0 comments
Open

* extension #10

TrySound opened this issue Jun 3, 2017 · 0 comments

Comments

@TrySound
Copy link
Member

TrySound commented Jun 3, 2017

* as val could be very useful for values replacement. Dot replacement already work.

@value * as val from 'path';

becomes

:import('path') {
  val: *;
  prop1: imported1
}

Will be expanded to

:import('path') {
  prop1: imported1;
  prop2: imported2;
  prop3: imported3
}

/cc @sokra @sullenor

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

No branches or pull requests

1 participant