@cara/porter
Advanced tools
Comparing version 4.0.0-alpha.9 to 4.0.0-alpha.10
{ | ||
"name": "@cara/porter", | ||
"description": "A middleware for web modules", | ||
"version": "4.0.0-alpha.9", | ||
"version": "4.0.0-alpha.10", | ||
"main": "src/porter.js", | ||
@@ -43,3 +43,4 @@ "repository": { | ||
}, | ||
"license": "BSD-3-Clause" | ||
"license": "BSD-3-Clause", | ||
"gitHead": "b493c06a32741a46fbd753cd2bae906199e58637" | ||
} |
@@ -560,5 +560,4 @@ 'use strict'; | ||
const { dest } = this.app; | ||
const mod = this.files[entries[0]]; | ||
const bundle = Bundle.create({ ...opts, packet: this, entries }); | ||
const specifier = path.relative(app.root, this.parent ? dir : mod.fpath); | ||
const specifier = this.parent ? path.relative(app.root, dir) : bundle.entry; | ||
@@ -573,2 +572,3 @@ debug(`compile ${specifier} start %s`, entries); | ||
const mod = this.files[entries[0]]; | ||
if (mod && mod.fake) { | ||
@@ -575,0 +575,0 @@ delete this.files[mod.file]; |
99349