@plaudit/webpack-extensions 2.66.0 → 2.66.2

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.
@@ -98,14 +98,8 @@ class ExtensionsConfigFileGeneratorPlugin extends AbstractBiPhasicGroupAndEntryP
98
98
  })
99
99
  .toSorted(([a], [b]) => a.localeCompare(b)));
100
100
  new php_writer_1.PHPWriter()
101
- .withScope(writer => {
102
- const filePathPrefixVar = new php_writer_1.Var("filePathPrefix");
103
- const fileUriPrefixVar = new php_writer_1.Var("fileUriPrefix");
104
- writer
105
- .assign(filePathPrefixVar, php_writer_1.Op.concat(php_writer_1.Constants.__DIR__, '/'))
106
- .call("plaudit_webpack_extensions__resolve_base_uri", [filePathPrefixVar], { assignTo: fileUriPrefixVar })
107
- .call("Plaudit\\Common\\Lib\\GutenbergUtils::loadExtensionsV3", [new php_writer_1.EnclosedLiteral((0, shared_1.makeEmittableConfigPHP)(blockExtensionsConfig, false)), filePathPrefixVar, fileUriPrefixVar]);
108
- })
101
+ .call("Plaudit\\Common\\Lib\\GutenbergUtils::loadExtensionsV3", [new php_writer_1.EnclosedLiteral((0, shared_1.makeEmittableConfigPHP)(blockExtensionsConfig, false)), php_writer_1.Constants.__DIR__,
102
+ php_writer_1.Expr.call("plaudit_webpack_extensions__resolve_base_uri", [php_writer_1.Constants.__DIR__])])
109
103
  .emitAsset(compilation, node_path_1.default.join(this.dest.destination, "extensions-loader.php"));
110
104
  }
111
105
  attachUniquePhase(compilation) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaudit/webpack-extensions",
3
- "version": "2.66.0",
3
+ "version": "2.66.2",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "files": [
6
6
  "/build"