kt3k / kt3k/packup

multiple html files as input fail to be bundled

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
337
Forks
16
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug** A clear and concise description of what the bug is.

Unable to serve or build with more than 1 HTML file as input.
![image](https://github.com/kt3k/packup/assets/64361584/af0d1397-4c47-42fb-bb70-85c32b787c59)
Though, it works with just one HTML file.
![image](https://github.com/kt3k/packup/assets/64361584/5b667ce6-4f04-48e1-b36a-f3deeec882f6)

**To Reproduce** Steps to reproduce the behavior:

```sh
git clone https://github.com/NekoMaru76/x-go
cd x-go
deno task build
deno task build_lib
deno task build_public
```

**Expected behavior** A clear and concise description of what you expected to
happen.

I expected it will work with multiple HTML files as input.
![image](https://github.com/kt3k/packup/assets/64361584/ecb76f2f-a7f7-4e62-bc64-9f839bc1109f)

Is this packup bug or esbuild?

**Screenshots** If applicable, add screenshots to help explain your problem.

Contributor guide

No contributing guide indexed for this repository

Research direction

Run the provided clone and Deno build commands first, comparing behavior with one HTML input and with multiple inputs. Trace the bundling entry point to determine whether the failure is in packup or esbuild; done means serving and building succeed with more than one HTML file.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, typescript
Domain
build-system, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.