Skip to content

Commit 33e4a8d

Browse files
committed
ci: use manifest v3 for Chromium
1 parent 92f490a commit 33e4a8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ async function build(target) {
3939
hardlink(path.join(srcDir, 'manifest.firefox.json'), path.join(srcDir, 'manifest.json'));
4040
break;
4141
}
42+
case 'chromium':
4243
case 'chromium-mv3': {
4344
console.log('Building files for Chromium (MV3)...');
4445
hardlink(path.join(srcDir, 'manifest.chromium.json'), path.join(srcDir, 'manifest.json'));
@@ -50,7 +51,6 @@ async function build(target) {
5051
hardlink(path.join(srcDir, 'manifest.firefox-mv2.json'), path.join(srcDir, 'manifest.json'));
5152
break;
5253
}
53-
case 'chromium':
5454
case 'chromium-mv2': {
5555
console.log('Building files for Chromium (MV2)...');
5656
hardlink(path.join(srcDir, 'manifest.chromium-mv2.json'), path.join(srcDir, 'manifest.json'));
@@ -86,6 +86,7 @@ async function buildTest(target) {
8686
hardlink(path.join(testDir, 'manifest.firefox.json'), path.join(testDir, 'manifest.json'));
8787
break;
8888
}
89+
case 'chromium':
8990
case 'chromium-mv3': {
9091
console.log('Building test files for Chromium (MV3)...');
9192
hardlink(path.join(testDir, 'manifest.chromium.json'), path.join(testDir, 'manifest.json'));
@@ -97,7 +98,6 @@ async function buildTest(target) {
9798
hardlink(path.join(testDir, 'manifest.firefox-mv2.json'), path.join(testDir, 'manifest.json'));
9899
break;
99100
}
100-
case 'chromium':
101101
case 'chromium-mv2': {
102102
console.log('Building test files for Chromium (MV2)...');
103103
hardlink(path.join(testDir, 'manifest.chromium-mv2.json'), path.join(testDir, 'manifest.json'));

0 commit comments

Comments
 (0)