extension-develop 4.0.33 → 4.0.34
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/0~rspack-config.mjs +3 -5
- package/dist/101.mjs +1 -1
- package/package.json +1 -1
package/dist/0~rspack-config.mjs
CHANGED
|
@@ -7103,10 +7103,6 @@ function manifestDeclaredSourcePaths(manifest) {
|
|
|
7103
7103
|
add(manifest.side_panel?.default_path);
|
|
7104
7104
|
add(manifest.sidebar_action?.default_panel);
|
|
7105
7105
|
for (const page of Object.values(manifest.chrome_url_overrides ?? {}))add(page);
|
|
7106
|
-
for (const contentScript of manifest.content_scripts ?? []){
|
|
7107
|
-
for (const js of contentScript?.js ?? [])add(js);
|
|
7108
|
-
for (const css of contentScript?.css ?? [])add(css);
|
|
7109
|
-
}
|
|
7110
7106
|
return declared;
|
|
7111
7107
|
}
|
|
7112
7108
|
function extractGetURLLiterals(source) {
|
|
@@ -12588,7 +12584,9 @@ class AddScripts {
|
|
|
12588
12584
|
createSequentialEntryModule(feature, scriptImports),
|
|
12589
12585
|
...cssImports
|
|
12590
12586
|
] : entryImports;
|
|
12591
|
-
if (finalEntryImports.length)
|
|
12587
|
+
if (!finalEntryImports.length) continue;
|
|
12588
|
+
const runsAsWorker = 'background/service_worker' === feature || isBackgroundScriptsFeature(feature) && 3 === Number(manifestJson.manifest_version) && !isGeckoBasedBrowser(String(this.browser));
|
|
12589
|
+
newEntries[feature] = runsAsWorker ? {
|
|
12592
12590
|
import: finalEntryImports,
|
|
12593
12591
|
...manifestJson.background?.type === 'module' ? {} : {
|
|
12594
12592
|
chunkLoading: "import-scripts"
|
package/dist/101.mjs
CHANGED
|
@@ -682,7 +682,7 @@ async function config_loader_isUsingExperimentalConfig(projectPath) {
|
|
|
682
682
|
}
|
|
683
683
|
return false;
|
|
684
684
|
}
|
|
685
|
-
var package_namespaceObject = /*#__PURE__*/ JSON.parse('{"rE":"4.0.
|
|
685
|
+
var package_namespaceObject = /*#__PURE__*/ JSON.parse('{"rE":"4.0.34","El":{"@prefresh/core":"1.5.9","@prefresh/utils":"1.2.1","@rspack/core":"^2.1.1","@rspack/dev-server":"2.1.0","@rspack/plugin-preact-refresh":"2.0.1","@rspack/plugin-react-refresh":"2.0.2","@vue/compiler-sfc":"3.5.26","acorn":"^8.16.0","browser-extension-manifest-fields":"^2.2.9","case-sensitive-paths-webpack-plugin":"^2.4.0","content-security-policy-parser":"^0.6.0","dotenv":"^17.2.3","es-module-lexer":"^2.1.0","extension-from-store":"^0.2.5","fflate":"^0.8.3","go-git-it":"^5.1.5","ignore":"^7.0.5","less":"4.6.7","less-loader":"13.0.0","parse5-utilities":"^1.0.0","pintor":"0.3.0","postcss":"8.5.23","postcss-loader":"8.2.1","postcss-preset-env":"11.1.1","postcss-scss":"4.0.9","preact":"10.27.3","prefers-yarn":"2.0.1","react-refresh":"0.18.0","sass-loader":"17.0.0","schema-utils":"^4.3.3","svelte-loader":"3.2.4","tiny-glob":"^0.2.9","vue":"3.5.26","vue-loader":"17.4.2","webextension-polyfill":"^0.12.0","webpack-merge":"^6.0.1","webpack-target-webextension":"^2.1.3","ws":"^8.20.1"}}');
|
|
686
686
|
function asAbsolute(p) {
|
|
687
687
|
return __rspack_external_node_path_c5b9b54f.isAbsolute(p) ? p : __rspack_external_node_path_c5b9b54f.resolve(p);
|
|
688
688
|
}
|