Skip to content

Stub defines are wrong for jspm bundle-sfx #12

@farcaller

Description

@farcaller

Re. https://github.com/Hypercubed/systemjs-plugin-html/blob/master/html-builder.js#L75

% jspm --version
0.16.48
Running against local jspm install.

While building an sfx bundle, it's expected that SystemJS would not be required, but building a bundle with systemjs-pugin-html enabled breaks the promise:

% jspm bundle-sfx src/index.ts

Generates:

...
$__System.register("1", ["2", "22"], function (exports_1, context_1) {
    ...
});

System.register('bower:[email protected]/polymer-ts.html!github:Hypercubed/[email protected]', [], false, function() {});
...

I verified that changing System.register to $__System.register works as expected. jspm bundle also works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions