BTHLABS-52: Firefox Desktop Extension

This commit is contained in:
2025-09-15 16:28:17 +00:00
parent d1e60babf4
commit 46254730bd
11 changed files with 103 additions and 23 deletions

View File

@@ -5,6 +5,7 @@ import {string} from 'rollup-plugin-string';
import packageJSON from './package.json' with {type: 'json'};
import manifestChrome from './src/manifest/chrome.json' with {type: 'json'};
import manifestCommon from './src/manifest/common.json' with {type: 'json'};
import manifestFirefox from './src/manifest/firefox.json' with {type: 'json'};
import manifestSafari from './src/manifest/safari.json' with {type: 'json'};
const BANNER = `/*!
@@ -68,6 +69,11 @@ const manifestJsonOutputPlugin = () => {
...result,
...manifestChrome,
};
} else if (TARGET == 'firefox') {
result = {
...result,
...manifestFirefox,
};
}
result.version = packageJSON.version;