@dword-design/base-config-web-extension 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ export default (async ({
6
6
  }) => {
7
7
  const packageConfig = await loadPkg();
8
8
  const config = await fs.readJson('config.json').catch(() => ({}));
9
- const iconExists = await fs.exists('assets/icon.png');
9
+ const iconExists = await fs.exists('public/icon.png');
10
10
  const popupExists = await fs.exists('popup.html');
11
11
  return {
12
12
  name: config.name,
@@ -14,13 +14,13 @@ export default (async ({
14
14
  manifest_version: 3,
15
15
  ...(iconExists && {
16
16
  icons: {
17
- 128: 'assets/icon.png'
17
+ 128: 'icon.png'
18
18
  }
19
19
  }),
20
20
  ...(('action' in config || popupExists) && {
21
21
  action: {
22
22
  ...(iconExists && {
23
- default_icon: 'assets/icon.png'
23
+ default_icon: 'icon.png'
24
24
  }),
25
25
  ...(popupExists && {
26
26
  default_popup: 'popup.html'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base-config-web-extension",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "repository": "dword-design/base-config-web-extension",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",