Closed yoshixmk closed 2 years ago
Describe the bug
Why doesn't the build finish with a custom pagic.config.tsx?
Tail 10 lines in log:
... [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/_header.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/_layout.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/_loading.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/_main.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/_popover.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/_sidebar.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/_tools.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/_utils.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/blog/_archives.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/blog/_layout.js [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/pagic.config.js
After write [Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/pagic.config.js, stop to build.
[Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/pagic.config.js
To Reproduce
Build use examples/README.md
I tried including the default settings below, but the result was the same outputs.
plugins: ["clean", "init", "md", "tsx", "script", "layout", "out", "ga"], watch: false, serve: false, port: 8000,
Expected behavior
If it does not use --serve or --watch, it will exit and return code 0.
--serve
--watch
Screenshots
more 27 min, Endless... :)
Context
denolib/setup-deno@v2
Working on it
I also encountered this problem. It reproduced with Deno v1.14, but not with v1.10.2 :thinking:
Fixed in pagic@v1.5.1, please upgrade and try again
pagic@v1.5.1
Awesome! Thanks a lot @xcatliu!
Describe the bug
Why doesn't the build finish with a custom pagic.config.tsx?
Tail 10 lines in log:
After write
[Pagic] Write /home/runner/work/deno-x-ranking/deno-x-ranking/dist/pagic.config.js
, stop to build.To Reproduce
Build use examples/README.md
I tried including the default settings below, but the result was the same outputs.
Expected behavior
If it does not use
--serve
or--watch
, it will exit and return code 0.Screenshots
more 27 min, Endless... :)
Context
denolib/setup-deno@v2