Skip to content

Commit

Permalink
fix: 相对路径加载问题
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed May 8, 2021
1 parent a1da12f commit a13e807
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default defineConfig({
emptyOutDir: true,
minify: false,
commonjsOptions: {},
assetsDir: '', // 相对路径加载问题
rollupOptions: {
external: [
...builtins(),
Expand Down

0 comments on commit a13e807

Please sign in to comment.