@jcoreio/toolchain-esnext 5.5.6 → 5.5.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jcoreio/toolchain-esnext",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.7",
|
|
4
4
|
"description": "ESNext JS build toolchain",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"globals": "^16.0.0",
|
|
33
33
|
"resolve": "^1.22.2",
|
|
34
34
|
"resolve-bin": "^1.0.0",
|
|
35
|
-
"@jcoreio/toolchain": "5.5.
|
|
35
|
+
"@jcoreio/toolchain": "5.5.7"
|
|
36
36
|
},
|
|
37
37
|
"toolchainManaged": {
|
|
38
38
|
"dependencies": {
|
|
@@ -9,7 +9,7 @@ export async function load(url, context, nextLoad) {
|
|
|
9
9
|
// Since we allow the project to omit `type` in `package.json` and transpile the same source
|
|
10
10
|
// code to CJS and ESM, we need to set the module type based upon the mode the toolchain is
|
|
11
11
|
// running in here for Node >=23.
|
|
12
|
-
if (context.format == null) {
|
|
12
|
+
if (context.format == null && !url.includes('/node_modules/')) {
|
|
13
13
|
const extension = path.extname(fileURLToPath(url))
|
|
14
14
|
if (
|
|
15
15
|
extension === '.js' ||
|