@rollup/plugin-node-resolve 7.1.2 → 7.1.3
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/CHANGELOG.md +8 -0
- package/dist/index.es.js +7 -1
- package/dist/index.js +7 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.es.js
CHANGED
@@ -284,7 +284,13 @@ function resolveImportSpecifiers(importSpecifierList, resolveOptions) {
|
|
284
284
|
return value;
|
285
285
|
}
|
286
286
|
|
287
|
-
return resolveId(importSpecifierList[i], resolveOptions)
|
287
|
+
return resolveId(importSpecifierList[i], resolveOptions).then(result => {
|
288
|
+
if (!resolveOptions.preserveSymlinks) {
|
289
|
+
result = realpathSync(result);
|
290
|
+
}
|
291
|
+
|
292
|
+
return result;
|
293
|
+
});
|
288
294
|
});
|
289
295
|
|
290
296
|
if (i < importSpecifierList.length - 1) {
|
package/dist/index.js
CHANGED
@@ -289,7 +289,13 @@ function resolveImportSpecifiers(importSpecifierList, resolveOptions) {
|
|
289
289
|
return value;
|
290
290
|
}
|
291
291
|
|
292
|
-
return resolveId(importSpecifierList[i], resolveOptions)
|
292
|
+
return resolveId(importSpecifierList[i], resolveOptions).then(result => {
|
293
|
+
if (!resolveOptions.preserveSymlinks) {
|
294
|
+
result = fs.realpathSync(result);
|
295
|
+
}
|
296
|
+
|
297
|
+
return result;
|
298
|
+
});
|
293
299
|
});
|
294
300
|
|
295
301
|
if (i < importSpecifierList.length - 1) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rollup/plugin-node-resolve",
|
3
|
-
"version": "7.1.
|
3
|
+
"version": "7.1.3",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -55,8 +55,8 @@
|
|
55
55
|
"resolve": "^1.14.2"
|
56
56
|
},
|
57
57
|
"devDependencies": {
|
58
|
-
"@babel/core": "^7.
|
59
|
-
"@babel/preset-env": "^7.
|
58
|
+
"@babel/core": "^7.9.0",
|
59
|
+
"@babel/preset-env": "^7.9.0",
|
60
60
|
"@rollup/plugin-json": "^4.0.1",
|
61
61
|
"es5-ext": "^0.10.53",
|
62
62
|
"rollup": "^2.0.0",
|