@dword-design/base-config-web-extension 3.0.18 → 3.0.20

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +3 -1
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import dev from "./dev.js";
7
7
  import lint from "./lint.js";
8
8
  import prepublishOnly from "./prepublish-only.js";
9
9
  export default (config => ({
10
- allowedMatches: ['public', 'background.js', 'content.js', 'config.json', 'index.spec.js', 'options.html', 'popup.html', 'options.js', 'popup.js', 'model'],
10
+ allowedMatches: ['assets', 'public', 'background.js', 'content.js', 'config.json', 'index.spec.js', 'options.html', 'popup.html', 'options.js', 'popup.js', 'model'],
11
11
  commands: {
12
12
  dev: {
13
13
  arguments: '[browser]',
@@ -70,6 +70,7 @@ export default (config => ({
70
70
  import babel from '${packageName`vite-plugin-babel`}'
71
71
  import eslint from '${packageName`vite-plugin-eslint`}'
72
72
  import webExtension from '${packageName`vite-plugin-web-extension`}'
73
+ import svgLoader from '${packageName`vite-svg-loader`}'
73
74
 
74
75
  export default defineConfig({
75
76
  build: {
@@ -77,6 +78,7 @@ export default (config => ({
77
78
  },
78
79
  plugins: [
79
80
  vue(),
81
+ svgLoader(),
80
82
  webExtension({
81
83
  browser: process.env.TARGET,
82
84
  manifest: () => JSON.parse(process.env.MANIFEST),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base-config-web-extension",
3
- "version": "3.0.18",
3
+ "version": "3.0.20",
4
4
  "repository": "dword-design/base-config-web-extension",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",
@@ -40,6 +40,7 @@
40
40
  "vite-plugin-babel": "^1.2.0",
41
41
  "vite-plugin-eslint": "^1.8.1",
42
42
  "vite-plugin-web-extension": "^4.1.1",
43
+ "vite-svg-loader": "^5.1.0",
43
44
  "vue": "^3.4.21"
44
45
  },
45
46
  "devDependencies": {
@@ -47,6 +48,7 @@
47
48
  "@dword-design/puppeteer": "^7.0.0",
48
49
  "@dword-design/tester": "^2.0.4",
49
50
  "@dword-design/tester-plugin-tmp-dir": "^2.0.3",
51
+ "@mdi/svg": "^7.4.47",
50
52
  "express": "^4.17.1",
51
53
  "globby": "^14.0.0",
52
54
  "webextension-polyfill": "^0.11.0",