-
Notifications
You must be signed in to change notification settings - Fork 26
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
distinguish that imports are not includes #156
Comments
but maybe we should add an @includes |
this works:
but if you split out |
Yea perhaps it should and this should be considered a bug. |
@nhooyr i don't think so. they're different things. y.d2 a -> b: hi
(a -> b)[0].style.opacity: 0.1 x.d2 a -> b: hello
...@import y
// vs
/// @includes y |
I don't follow. Why couldn't we just make imports have the same behaviour the same as includes? Why have another way to add a file? The idea after all is you can move any code anywhere into a new file and it'll just work. |
@nhooyr In my example, if you "import y", it imports an opacity 0.1 connection. So they're two different things. And I can see both being useful. |
maybe e.g. someone wants to embed a code snippet or markdown that's in its own file. although we don't have syntax to specify language tag and value separately. maybe we should |
The text was updated successfully, but these errors were encountered: