🐛 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",
|
src: "./plugin.json",
|
||||||
dest: "./",
|
dest: "./",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: "./preview.png",
|
||||||
|
dest: "./",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: "./icon.png",
|
||||||
|
dest: "./",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
|
@ -79,7 +87,7 @@ export default defineConfig({
|
||||||
name: 'watch-external',
|
name: 'watch-external',
|
||||||
async buildStart() {
|
async buildStart() {
|
||||||
const files = await fg([
|
const files = await fg([
|
||||||
'public/**',
|
'public/i18n/**',
|
||||||
'./README*.md',
|
'./README*.md',
|
||||||
'./plugin.json'
|
'./plugin.json'
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue