Comparing version 0.3.6 to 0.3.7
@@ -217,3 +217,3 @@ #!/usr/bin/env node | ||
for (const output of outputs.filter((o) => o.extension === ".mjs")) { | ||
output.contents = output.contents.replace(/(import|export)([\s\S]*?)['"](.*)(['"])/g, (_, type, head, id, tail) => type + head + resolveId(output.path, id) + tail); | ||
output.contents = output.contents.replace(/(import|export)([\s\S]*?)\s?from\s?['"](.*)(['"])/g, (_, type, head, id, tail) => type + head + resolveId(output.path, id) + tail); | ||
} | ||
@@ -220,0 +220,0 @@ const writtenFiles = []; |
@@ -215,3 +215,3 @@ 'use strict'; | ||
for (const output of outputs.filter((o) => o.extension === ".mjs")) { | ||
output.contents = output.contents.replace(/(import|export)([\s\S]*?)['"](.*)(['"])/g, (_, type, head, id, tail) => type + head + resolveId(output.path, id) + tail); | ||
output.contents = output.contents.replace(/(import|export)([\s\S]*?)\s?from\s?['"](.*)(['"])/g, (_, type, head, id, tail) => type + head + resolveId(output.path, id) + tail); | ||
} | ||
@@ -218,0 +218,0 @@ const writtenFiles = []; |
{ | ||
"name": "mkdist", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"description": "Lightweight file-to-file transformer", | ||
@@ -5,0 +5,0 @@ "repository": "unjs/mkdist", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20044