island.js icon indicating copy to clipboard operation
island.js copied to clipboard

base属性

Open Yicoding opened this issue 2 years ago • 1 comments

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

  • [X] Read the docs
  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Yicoding avatar May 12 '23 05:05 Yicoding

好的,我来修复一下

sanyuan0704 avatar Jun 02 '23 12:06 sanyuan0704