Explorar o código

Only refresh build file in demo

杜府 %!s(int64=3) %!d(string=hai) anos
pai
achega
5fb4c8949e
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      demo/cdn-list.txt
  2. 1 1
      demo/vite.config.js

+ 1 - 1
demo/cdn-list.txt

@@ -1 +1 @@
-https://demo.stdf.design/
+https://demo.stdf.design/build/

+ 1 - 1
demo/vite.config.js

@@ -11,7 +11,7 @@ export default defineConfig({
         hmr: true,
         hmr: true,
         host: '0.0.0.0',
         host: '0.0.0.0',
         port: 8888,
         port: 8888,
-        // 是否开启 https
         https: false,
         https: false,
     },
     },
+    build: { assetsDir: 'build' },
 });
 });