@plaudit/webpack-extensions 2.60.2 → 2.61.0

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.
@@ -104,11 +104,11 @@ class ExtensionsConfigFileGeneratorPlugin {
104
104
  finalExtensionsDest = "/" + finalExtensionsDest;
105
105
  }
106
106
  writer
107
- .use("Plaudit\\Base\\API\\ThemeUtils")
107
+ .use("Plaudit\\Common\\Lib\\GutenbergUtils")
108
108
  .withScope(writer => writer
109
109
  .assign("$filePathPrefix", new php_writer_1.Expr(`__DIR__.${php_writer_1.Expr.convertJsonToPHP(finalExtensionsDest)}`))
110
110
  .call("plaudit_webpack_extensions__resolve_base_uri", [new php_writer_1.Expr("$filePathPrefix")], { assignTo: "$fileUriPrefix" })
111
- .call("ThemeUtils::loadExtensionsV2", [
111
+ .call("GutenbergUtils::loadExtensionsV2", [
112
112
  new php_writer_1.Expr(`__DIR__.${php_writer_1.Expr.convertJsonToPHP(finalExtensionsDest + "mapping.config.php")}`),
113
113
  new php_writer_1.Expr(`$filePathPrefix`), new php_writer_1.Expr("$fileUriPrefix"),
114
114
  `${this.config.plainEntrypointsHandlePrefix || node_path_1.default.basename(process.cwd())}_extension_`
@@ -134,8 +134,8 @@ class ExtensionsConfigFileGeneratorPlugin {
134
134
  compilation.hooks.processAssets.tap({ name: `${this.constructor.name}_UnifiedLoaderGeneratorIntegration`, stage: webpack_1.Compilation.PROCESS_ASSETS_STAGE_DERIVED }, () => {
135
135
  UnifiedLoaderGenerator_1.UnifiedLoaderGenerator.semaphore.resolve(this.id, { group: `extensions-config-v1-${this.extensionsDest}`, requiresBaseURI: false, action: writer => {
136
136
  writer
137
- .use("Plaudit\\Base\\API\\ThemeUtils")
138
- .call("ThemeUtils::installExtensionSupport", [new php_writer_1.Expr(`__DIR__.${php_writer_1.Expr.convertJsonToPHP(this.extensionsDest)}`)]);
137
+ .use("Plaudit\\Common\\Lib\\GutenbergUtils")
138
+ .call("GutenbergUtils::installExtensionsSupport", [new php_writer_1.Expr(`__DIR__.${php_writer_1.Expr.convertJsonToPHP(this.extensionsDest)}`)]);
139
139
  } });
140
140
  });
141
141
  compilation.hooks.afterProcessAssets.tap(`${this.constructor.name}_AfterProcessAssets`, this.makeVersionOneAfterProcessAssets(compilation));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plaudit/webpack-extensions",
3
- "version": "2.60.2",
4
- "license": "UNLICENSED",
3
+ "version": "2.61.0",
4
+ "license": "SEE LICENSE IN LICENSE.md",
5
5
  "files": [
6
6
  "/build"
7
7
  ],