🐛 fix: vite.config.ts
This commit is contained in:
parent
881ff608b0
commit
90b2805d9e
1 changed files with 9 additions and 1 deletions
|
@ -34,6 +34,14 @@ export default defineConfig({
|
|||
{
|
||||
src: "./plugin.json",
|
||||
dest: "./",
|
||||
},
|
||||
{
|
||||
src: "./preview.png",
|
||||
dest: "./",
|
||||
},
|
||||
{
|
||||
src: "./icon.png",
|
||||
dest: "./",
|
||||
}
|
||||
],
|
||||
}),
|
||||
|
@ -79,7 +87,7 @@ export default defineConfig({
|
|||
name: 'watch-external',
|
||||
async buildStart() {
|
||||
const files = await fg([
|
||||
'public/**',
|
||||
'public/i18n/**',
|
||||
'./README*.md',
|
||||
'./plugin.json'
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue