Open PerfectPan opened 1 month ago
Reproduce Repo: https://github.com/PerfectPan/waku-issue-698
Setting basePath manualy in waku.config.ts will cause error except /.
/
/** @type {import('waku/config').Config} */ export default { basePath: '/test/' };
build mode: load js and css file error(pnpm build && pnpm start)
pnpm build && pnpm start
dev mode: unknown error(pnpm dev)
pnpm dev
Some previous reserach can be seen in https://github.com/dai-shi/waku/pull/697#issuecomment-2094563046
Would like to solve it later and also welcome other one to work on this.
Thanks for opening an issue. Let's fix it step by step:
By SSG, I mean to build static files and serve from a different folder:
pnpm builld mkdir ssg cp -r dist/public ssg/test npx serve -s ssg
Reproduce Repo: https://github.com/PerfectPan/waku-issue-698
Setting basePath manualy in waku.config.ts will cause error except
/
.build mode: load js and css file error(![CleanShot 2024-05-05 at 14 01 46@2x](https://github.com/dai-shi/waku/assets/24316656/b68ec33e-cc78-4b85-9153-3a010cc1fc4f)
pnpm build && pnpm start
)dev mode: unknown error(![CleanShot 2024-05-05 at 13 57 04@2x](https://github.com/dai-shi/waku/assets/24316656/7ee2cc14-a238-4031-9988-6a8d4e9bc128)
pnpm dev
)Some previous reserach can be seen in https://github.com/dai-shi/waku/pull/697#issuecomment-2094563046
Would like to solve it later and also welcome other one to work on this.