run icon indicating copy to clipboard operation
run copied to clipboard

`run-adapter-static` also creates dynamic directories names as static folders

Open Jack5079 opened this issue 1 year ago • 1 comments

https://github.com/Jack5079/marko-slug-bug

<!-- +page.marko -->
<a href="/path">path</a>
<!-- $+page.marko -->
<h1>here be $</h1>

Results in

dist
├── $
│   └── index.html
├── 404
│   └── index.html
├── path
│   └── index.html
└── index.html

But it should be:

dist
├── 404
│   └── index.html
├── path
│   └── index.html
└── index.html

Jack5079 avatar Apr 13 '24 23:04 Jack5079

Good catch @Jack5079, I think we need to add some more checks here https://github.com/marko-js/run/blob/main/packages/adapters/static/src/index.ts#L86

Will try to get to it once I have a sec. If you want to take a stab at a PR that'd be great also 🙏

DylanPiercey avatar Apr 14 '24 00:04 DylanPiercey