ci: add preserverSymlinks to vite conf

pull/6813/head
NGPixel 1 year ago
parent 61e8e48183
commit fe14d12080
No known key found for this signature in database
GPG Key ID: B755FB6870B30F63

@ -90,6 +90,8 @@ module.exports = configure(function (ctx) {
distDir: '../assets', distDir: '../assets',
extendViteConf (viteConf) { extendViteConf (viteConf) {
viteConf.resolve.preserveSymlinks = true
if (ctx.prod) { if (ctx.prod) {
viteConf.build.assetsDir = '_assets' viteConf.build.assetsDir = '_assets'
viteConf.build.rollupOptions = { viteConf.build.rollupOptions = {

Loading…
Cancel
Save