@plaudit/webpack-extensions 2.66.0 → 2.66.1
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.
|
@@ -99,12 +99,10 @@ class ExtensionsConfigFileGeneratorPlugin extends AbstractBiPhasicGroupAndEntryP
|
|
|
99
99
|
.toSorted(([a], [b]) => a.localeCompare(b)));
|
|
100
100
|
new php_writer_1.PHPWriter()
|
|
101
101
|
.withScope(writer => {
|
|
102
|
-
const filePathPrefixVar = new php_writer_1.Var("filePathPrefix");
|
|
103
102
|
const fileUriPrefixVar = new php_writer_1.Var("fileUriPrefix");
|
|
104
103
|
writer
|
|
105
|
-
.
|
|
106
|
-
.call("
|
|
107
|
-
.call("Plaudit\\Common\\Lib\\GutenbergUtils::loadExtensionsV3", [new php_writer_1.EnclosedLiteral((0, shared_1.makeEmittableConfigPHP)(blockExtensionsConfig, false)), filePathPrefixVar, fileUriPrefixVar]);
|
|
104
|
+
.call("plaudit_webpack_extensions__resolve_base_uri", [php_writer_1.Constants.__DIR__], { assignTo: fileUriPrefixVar })
|
|
105
|
+
.call("Plaudit\\Common\\Lib\\GutenbergUtils::loadExtensionsV3", [new php_writer_1.EnclosedLiteral((0, shared_1.makeEmittableConfigPHP)(blockExtensionsConfig, false)), php_writer_1.Constants.__DIR__, fileUriPrefixVar]);
|
|
108
106
|
})
|
|
109
107
|
.emitAsset(compilation, node_path_1.default.join(this.dest.destination, "extensions-loader.php"));
|
|
110
108
|
}
|