Skip to content

interleave vs magic comments #113

Open

Description

@mathan78

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!

Activity

  1. ScriptedAlchemy commented on Feb 9, 2020

    @ScriptedAlchemy
    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
  2. added
    question
    on Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions