@cara/porter
Advanced tools
Comparing version 4.0.0-beta.13 to 4.0.0-beta.14
@@ -530,2 +530,3 @@ /* eslint-env browser */ | ||
mod.factory = factory; | ||
// in case the script is accidentally loaded multiple times | ||
if (mod.status < MODULE_FETCHED) mod.status = MODULE_FETCHED; | ||
@@ -532,0 +533,0 @@ mod.resolve(); |
{ | ||
"name": "@cara/porter", | ||
"description": "A middleware for web modules", | ||
"version": "4.0.0-beta.13", | ||
"version": "4.0.0-beta.14", | ||
"main": "src/porter.js", | ||
@@ -43,3 +43,3 @@ "repository": { | ||
"license": "BSD-3-Clause", | ||
"gitHead": "1fa6682e4e002f4f1f20ccb5b3a08d178175e246" | ||
"gitHead": "8da9f4dc97f8e7808eebd1b1efdac606c6a610ba" | ||
} |
@@ -163,4 +163,5 @@ 'use strict'; | ||
const { entries } = this.packet; | ||
const extensions = extMap[this.format]; | ||
return Object.keys(entries).filter(file => { | ||
return file.endsWith('.js') && !entries[file].isRootEntry; | ||
return extensions.includes(path.extname(file)) && !entries[file].isRootEntry; | ||
}); | ||
@@ -167,0 +168,0 @@ } |
117419
3082