Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

baseURL not prepending in 0.17 #394

Closed
@milesj

Description

@milesj

Just upgraded to version 0.17 and started updating my code to support the recent changes, mainly the automatic JS extension portion. However, I've noticed that my System.baseURL setting is no longer working.

In my setup, I have System.baseURL set to /base/js-es6/ (to support Karma paths). As an example, say I have a file foo.js that has an import Bar from 'bar'. This bar will be resolved to bar.js and the loader will attempt to load it at the following address http://localhost:9876/bar.js. This is wrong, as it should load from http://localhost:9876/base/js-es6/bar.js.

Is there an extra step I need to take to support the 0.17 changes? Or is this a bug that was introduced?

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