mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
feat: updates
This commit is contained in:
parent
950f72d4e8
commit
f54d2ded5c
26 changed files with 361 additions and 166 deletions
|
|
@ -3,6 +3,7 @@ import { builtinModules } from 'module'
|
|||
import path from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
import pkg from '../../package.json'
|
||||
import { visualizer } from 'rollup-plugin-visualizer'
|
||||
|
||||
dotenv.config({
|
||||
path: path.resolve(process.cwd(), '.env'),
|
||||
|
|
@ -25,6 +26,13 @@ export default defineConfig({
|
|||
...builtinModules,
|
||||
...Object.keys(pkg.dependencies || {}),
|
||||
],
|
||||
plugins: [
|
||||
visualizer({
|
||||
filename: './bundle-stats-preload.html',
|
||||
gzipSize: true,
|
||||
projectRoot: 'packages/preload',
|
||||
}),
|
||||
],
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue