@jsenv/plugin-bundling 2.6.1 → 2.6.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/plugin-bundling",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"test": "node --conditions=development ./scripts/test.mjs"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@jsenv/log": "3.
|
|
28
|
-
"@jsenv/url-meta": "8.
|
|
29
|
-
"@jsenv/urls": "2.2.
|
|
30
|
-
"@jsenv/sourcemap": "1.2.
|
|
27
|
+
"@jsenv/log": "3.5.1",
|
|
28
|
+
"@jsenv/url-meta": "8.4.0",
|
|
29
|
+
"@jsenv/urls": "2.2.2",
|
|
30
|
+
"@jsenv/sourcemap": "1.2.5",
|
|
31
31
|
"lightningcss": "1.22.1",
|
|
32
|
-
"rollup": "4.5
|
|
32
|
+
"rollup": "4.9.5"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@jsenv/core": "*"
|
|
@@ -294,7 +294,10 @@ const rollupPluginJsenv = ({
|
|
|
294
294
|
// rollup generate specifiers only for static and dynamic imports
|
|
295
295
|
// other references (like new URL()) are ignored
|
|
296
296
|
// there is no need to remap them back
|
|
297
|
-
if (
|
|
297
|
+
if (
|
|
298
|
+
reference.type === "js_import" &&
|
|
299
|
+
reference.subtype !== "import_meta_resolve"
|
|
300
|
+
) {
|
|
298
301
|
return specifierToUrlMap.get(reference.specifier);
|
|
299
302
|
}
|
|
300
303
|
return reference.specifier;
|