app-bundler 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bundler.js +2 -2
- package/lib/cli.js +2 -2
- package/package.json +1 -1
package/lib/bundler.js
CHANGED
|
@@ -4754,9 +4754,9 @@ var __register, __require, require;
|
|
|
4754
4754
|
if (modules[path]) {
|
|
4755
4755
|
return modules[path].runOnce();
|
|
4756
4756
|
}
|
|
4757
|
-
var pathWithoutExt = path.replace(
|
|
4757
|
+
var pathWithoutExt = path.replace(/\\.\\w+$/, '').toLowerCase();
|
|
4758
4758
|
for (var key in modules) {
|
|
4759
|
-
var $pathWithoutExt = key.replace(
|
|
4759
|
+
var $pathWithoutExt = key.replace(/\\.\\w+$/, '').toLowerCase();
|
|
4760
4760
|
if ($pathWithoutExt === pathWithoutExt) {
|
|
4761
4761
|
let module = modules[path] = modules[key];
|
|
4762
4762
|
return module.runOnce();
|
package/lib/cli.js
CHANGED
|
@@ -4756,9 +4756,9 @@ var __register, __require, require;
|
|
|
4756
4756
|
if (modules[path]) {
|
|
4757
4757
|
return modules[path].runOnce();
|
|
4758
4758
|
}
|
|
4759
|
-
var pathWithoutExt = path.replace(
|
|
4759
|
+
var pathWithoutExt = path.replace(/\\.\\w+$/, '').toLowerCase();
|
|
4760
4760
|
for (var key in modules) {
|
|
4761
|
-
var $pathWithoutExt = key.replace(
|
|
4761
|
+
var $pathWithoutExt = key.replace(/\\.\\w+$/, '').toLowerCase();
|
|
4762
4762
|
if ($pathWithoutExt === pathWithoutExt) {
|
|
4763
4763
|
let module = modules[path] = modules[key];
|
|
4764
4764
|
return module.runOnce();
|