MCPcopy Create free account
hub / github.com/dailydotdev/apps / getExtensionFileType

Function getExtensionFileType

packages/extension/rspack.config.js:16–26  ·  view source on GitHub ↗
(browser)

Source from the content-addressed store, hash-verified

14const targetBrowser = process.env.TARGET_BROWSER;
15
16const getExtensionFileType = (browser) => {
17 if (browser === 'opera') {
18 return 'crx';
19 }
20
21 if (browser === 'firefox') {
22 return 'xpi';
23 }
24
25 return 'zip';
26};
27
28const baseConfig = {
29 devtool: false,

Callers 1

rspack.config.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected