Browse Source

Only refresh build file in demo

杜府 3 năm trước cách đây
mục cha
commit
5fb4c8949e
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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,
         host: '0.0.0.0',
         port: 8888,
-        // 是否开启 https
         https: false,
     },
+    build: { assetsDir: 'build' },
 });