@staticbolt/core 1.0.0-beta.10 → 1.0.0-beta.11
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/plugins/index.mjs
CHANGED
|
@@ -3249,6 +3249,8 @@ function htmlBundleScriptPlugin(options = {}) {
|
|
|
3249
3249
|
node.textContent = "";
|
|
3250
3250
|
if (this.findMetadata({ filePath: outfile })) {
|
|
3251
3251
|
this.log.info(`The entry point "${entryPoint}" is already bundled in "${outfile}", skipping...`);
|
|
3252
|
+
if (scriptMetadataID) metadata.scriptsMetadataList.delete(scriptMetadataID);
|
|
3253
|
+
node.setAttribute("src", relative(dirname(filePath), outfile));
|
|
3252
3254
|
continue;
|
|
3253
3255
|
}
|
|
3254
3256
|
entryPoint = outfile;
|