fix: 相对路径加载问题

This commit is contained in:
草鞋没号 2021-05-08 17:45:15 +08:00
parent a1da12fb5a
commit a13e807e2d

View File

@ -24,6 +24,7 @@ export default defineConfig({
emptyOutDir: true,
minify: false,
commonjsOptions: {},
assetsDir: '', // 相对路径加载问题
rollupOptions: {
external: [
...builtins(),