Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base属性 #170

Open
2 tasks done
Yicoding opened this issue May 12, 2023 · 1 comment
Open
2 tasks done

base属性 #170

Yicoding opened this issue May 12, 2023 · 1 comment

Comments

@Yicoding
Copy link

Describe the bug

设置base属性后,文档中使用的图片没有添加base路径,导致图片路径404

Reproduction

import { defineConfig } from 'islandjs';

export default defineConfig({
base: '/bar/'
});

Expected behavior

设置base属性后,文档中使用的图片打包后自动添加base前缀

System Info

macos

Additional context

No response

Validations

  • Read the docs
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@sanyuan0704
Copy link
Owner

好的,我来修复一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants