Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Custom system.js config not working for Plunker #1424

Closed
@Foxandxss

Description

@Foxandxss

Problem:

If we need to define custom barrels in our examples, we will need to extend the systemjs.config.js (via another file or inline in the index.html).

That won't work on Plunker because we load .js locally and .ts in plunker.

Solutions:

We could either offer a different index.html for plunker (if we inline the config). That is easy to do, doesn't need changes.

We could have a systemjs.custom.js for this new custom stuff and offer a systemjs.custom.plunker.js that plunker would use. Downsides, we will need to write the same thing twice.

A third solution would be generating the systemjs.custom.plunker.js on the fly by replacing the extensions at systemjs.custom.js. It could be potentially brittle, but shouldn't give any troubles.


I have no problem in fixing this, but first I want to see your ideas or see if I am missing an obvious solution.

/cc @wardbell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions