extension-develop 3.8.5 → 3.8.7

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/dist/535.cjs CHANGED
@@ -10227,7 +10227,7 @@ Set background.noDynamicEntryWarning to true to disable this warning.
10227
10227
  projectRoot: packageJsonDir,
10228
10228
  config: devOptions.extensions
10229
10229
  });
10230
- const unpackedExtensionDirsToLoad = (0, extensions_to_load.n)(external_path_.resolve(__dirname, '..'), devOptions.mode, devOptions.browser, primaryExtensionOutputDir, companionUnpackedExtensionDirs);
10230
+ const unpackedExtensionDirsToLoad = (0, extensions_to_load.n)(external_path_.resolve(__dirname, '..'), devOptions.mode, devOptions.browser, primaryExtensionOutputDir, companionUnpackedExtensionDirs, manifestPath);
10231
10231
  const debug = 'true' === process.env.EXTENSION_AUTHOR_MODE;
10232
10232
  const transpilePackageDirs = resolveTranspilePackageDirs(packageJsonDir, devOptions.transpilePackages);
10233
10233
  if (debug) {
package/dist/module.cjs CHANGED
@@ -133438,7 +133438,7 @@ var __webpack_modules__ = {
133438
133438
  if (fs__rspack_import_0.existsSync(candidate)) return candidate;
133439
133439
  }
133440
133440
  }
133441
- function computeExtensionsToLoad(baseDir, mode, browser, userExtensionOutputPath, extraExtensionDirs = []) {
133441
+ function computeExtensionsToLoad(baseDir, mode, browser, userExtensionOutputPath, extraExtensionDirs = [], userManifestPath) {
133442
133442
  const list = [];
133443
133443
  try {
133444
133444
  const devtoolsForBrowser = resolveBuiltInExtensionForBrowser({
@@ -133451,7 +133451,7 @@ var __webpack_modules__ = {
133451
133451
  packageName: 'extension-js-theme',
133452
133452
  browser
133453
133453
  });
133454
- const userHasNewTabOverride = hasNewTabOverride(userExtensionOutputPath);
133454
+ const userHasNewTabOverride = hasNewTabOverride(userExtensionOutputPath) || ('string' == typeof userManifestPath ? hasNewTabOverride(path__rspack_import_1.dirname(userManifestPath)) : false);
133455
133455
  const devtoolsHasNewTabOverride = devtoolsForBrowser ? hasNewTabOverride(devtoolsForBrowser) : false;
133456
133456
  const shouldSkipDevtoolsForNtpConflict = userHasNewTabOverride && devtoolsHasNewTabOverride;
133457
133457
  if (devtoolsForBrowser && !shouldSkipDevtoolsForNtpConflict) list.push(devtoolsForBrowser);
@@ -134817,7 +134817,7 @@ var __webpack_modules__ = {
134817
134817
  },
134818
134818
  "./package.json" (module) {
134819
134819
  "use strict";
134820
- module.exports = JSON.parse('{"rE":"3.8.5","El":{"@rspack/core":"^1.7.5","@rspack/dev-server":"^1.1.5","@swc/core":"^1.15.8","@swc/helpers":"^0.5.18","adm-zip":"^0.5.16","browser-extension-manifest-fields":"^2.2.1","case-sensitive-paths-webpack-plugin":"^2.4.0","chrome-location2":"4.0.0","chromium-location":"2.0.0","content-security-policy-parser":"^0.6.0","cross-spawn":"^7.0.6","dotenv":"^17.2.3","edge-location":"2.2.0","extension-from-store":"^0.1.1","firefox-location2":"3.0.0","go-git-it":"^5.1.1","ignore":"^7.0.5","loader-utils":"^3.3.1","magic-string":"^0.30.21","parse5":"^8.0.0","parse5-utilities":"^1.0.0","pintor":"0.3.0","schema-utils":"^4.3.3","tiny-glob":"^0.2.9","unique-names-generator":"^4.7.1","webextension-polyfill":"^0.12.0","webpack-merge":"^6.0.1","webpack-target-webextension":"^2.1.3","ws":"^8.19.0"}}');
134820
+ module.exports = JSON.parse('{"rE":"3.8.7","El":{"@rspack/core":"^1.7.5","@rspack/dev-server":"^1.1.5","@swc/core":"^1.15.8","@swc/helpers":"^0.5.18","adm-zip":"^0.5.16","browser-extension-manifest-fields":"^2.2.1","case-sensitive-paths-webpack-plugin":"^2.4.0","chrome-location2":"4.0.0","chromium-location":"2.0.0","content-security-policy-parser":"^0.6.0","cross-spawn":"^7.0.6","dotenv":"^17.2.3","edge-location":"2.2.0","extension-from-store":"^0.1.1","firefox-location2":"3.0.0","go-git-it":"^5.1.1","ignore":"^7.0.5","loader-utils":"^3.3.1","magic-string":"^0.30.21","parse5":"^8.0.0","parse5-utilities":"^1.0.0","pintor":"0.3.0","schema-utils":"^4.3.3","tiny-glob":"^0.2.9","unique-names-generator":"^4.7.1","webextension-polyfill":"^0.12.0","webpack-merge":"^6.0.1","webpack-target-webextension":"^2.1.3","ws":"^8.19.0"}}');
134821
134821
  }
134822
134822
  };
134823
134823
  var __webpack_module_cache__ = {};
@@ -135977,7 +135977,7 @@ var __webpack_exports__ = {};
135977
135977
  projectRoot: packageJsonDir,
135978
135978
  config: merged.extensions
135979
135979
  });
135980
- const unpackedExtensionDirsToLoad = (0, extensions_to_load.n)(external_path_.resolve(__dirname, '..'), 'production', browser, outputPath, companionUnpackedExtensionDirs);
135980
+ const unpackedExtensionDirsToLoad = (0, extensions_to_load.n)(external_path_.resolve(__dirname, '..'), 'production', browser, outputPath, companionUnpackedExtensionDirs, projectStructure.manifestPath);
135981
135981
  await runOnlyPreviewBrowser({
135982
135982
  browser,
135983
135983
  outPath: outputPath,
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "webpack/webpack-lib/build-dependencies.json"
25
25
  ],
26
26
  "name": "extension-develop",
27
- "version": "3.8.5",
27
+ "version": "3.8.7",
28
28
  "description": "Develop, build, preview, and package Extension.js projects.",
29
29
  "author": {
30
30
  "name": "Cezar Augusto",