mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-06-21 18:11:08 +00:00
7 lines
No EOL
214 B
TypeScript
7 lines
No EOL
214 B
TypeScript
import * as fs from 'fs';
|
|
|
|
const manifest = JSON.parse(fs.readFileSync('./dist/manifest.json', 'utf8'));
|
|
|
|
manifest.manifest_version = 2;
|
|
|
|
fs.writeFileSync('./dist/manifest.json', JSON.stringify(manifest, null, 2)); |