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

interleave vs magic comments #113

Open
mathan78 opened this issue Feb 7, 2020 · 1 comment
Open

interleave vs magic comments #113

mathan78 opened this issue Feb 7, 2020 · 1 comment
Labels
question Further information is requested

Comments

@mathan78
Copy link

mathan78 commented Feb 7, 2020

Out of curiosity, what is the difference using the magic comment (/externalize/) inside the actual component vs using the interleave in package.json?

The reason for my question is that the magic comment is not part of the documentation any longer. But it still seems to work.

Great package btw!

@ScriptedAlchemy
Copy link
Owner

the magic comment has been phased out in the latest V2

Reasons:

  • It was obscure
  • easy to make conflicts
  • hard to know whats externalized
  • only worked with JS, where as now the new interface works with CSS as well

@ScriptedAlchemy ScriptedAlchemy added the question Further information is requested label Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants