Skip to content

Commit

Permalink
activated package references for entry points
Browse files Browse the repository at this point in the history
this was temporarily deactivated for migration purposes
  • Loading branch information
FND committed Feb 2, 2018
1 parent 7891a6a commit 8d4db7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function makeBundle(config, resolvePath) {
config = Object.assign({}, config);
let [entryPoint, target] = extract(config, "source", "target");

entryPoint = resolvePath(entryPoint, { enforceRelative: true });
entryPoint = resolvePath(entryPoint);
target = resolvePath(target, { enforceRelative: true });
return new Bundle(entryPoint, target, config);
}
Expand Down
3 changes: 1 addition & 2 deletions test/unit/test_bundling.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ console.log("[\\u2026] " + util); // eslint-disable-line no-console
return compile(`./${entryPoint}`, `./${target}`);
});

// NB: disabled while we're migrating old-style configurations
it.skip("should support Node resolution algorithm for entry point", () => {
it("should support Node resolution algorithm for entry point", () => {
let entryPoint = "dummy/src/index.js";
let target = "./dist/bundle.js";
let assetManager = new MockAssetManager(FIXTURES_DIR);
Expand Down

0 comments on commit 8d4db7e

Please sign in to comment.