Skip to content

Commit 216e17c

Browse files
committed
use version
1 parent bcc0f05 commit 216e17c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wxt.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defineConfig } from 'wxt';
2+
import { version } from './package.json';
23

34
export default defineConfig({
45
manifest: {
@@ -8,7 +9,7 @@ export default defineConfig({
89
homepage_url: 'https://github.com/hzoo/contributors-on-github',
910
// Keep the key for development stability if needed, but usually removed for production builds outside CRX store
1011
// key: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwnKOOu3IkB/A55pdBjEV988NSgMzl8KDo4vZeCz9uuWEyYRLOF63/i8rm4ujFgGm+sfOqIm7u3wNKmgIfEdZwdswWeVC/0/Gra4frixoiQcsykapk7bKFAuFDA06p4jHmmfZZs32bujZaqRDE9Fm4lJ4+otikCmZodHf5oxHu1NdGVSlyiFDpqh7wkg6zhUvOU5vr2bC/Ot5EMAMEtv6oHW5MAflxnLvERc0pK2abVRWvXBM9EbsekSa+d4WwJ2tMDFOe2KDM/FS6+6Jjhm/6SKDc30b+o9Ts8ueDNg8anZ0bOYvzdFtTZYqyQ18zYV252UKDOAgg1rhJkUe9RvNnwIDAQAB",
11-
version: '1.0.9', // Consider reading from package.json: process.env.npm_package_version
12+
version: version,
1213
icons: {
1314
'128': '/icon-128.png', // Path relative to public directory
1415
},

0 commit comments

Comments
 (0)