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

使用第三方主题生成的js文件内容为404 #84

Open
Suzichen opened this issue May 19, 2021 · 0 comments
Open

使用第三方主题生成的js文件内容为404 #84

Suzichen opened this issue May 19, 2021 · 0 comments
Assignees
Labels

Comments

@Suzichen
Copy link

Describe the bug
我把仓库clone到本地进行开发时发现了这个问题,
然后把theme换成线上的'https://deno.land/x/[email protected]/src/themes/blog/mod.ts',
依然存在这个问题,即生成的dist/xxx.js内容为:

404;
Not;
Found;

如果theme正常使用'blog'则不会出现这个问题

To Reproduce
修改配置文件

export default {
  // ...other config
  // theme: 'blog',
  theme: 'https://deno.land/x/[email protected]/src/themes/blog/mod.ts',
  // ...other config
}

生成网站

pagic build --watch --serve

Expected behavior
生成正常的有代码的js文件

Screenshots
image
左边为 theme: 'blog' 生成,右边为 theme: 'https://deno.land/x/[email protected]/src/themes/blog/mod.ts', 生成

Context

  • Pagic version: 1.3.1
  • Deno version: 1.10.1 (release, aarch64-apple-darwin)
  • Browser version (optional):
  • OS version: macOS 11.2(m1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants