FujoWebDev / FujoWebDev/fujocoded-plugins

[astro-dev-only] Make an `import`-able resource that will mark pages to be excluded

Open
#4 3 comments 1 reaction 0 assignees View on GitHub
astro-dev-only
Dominant language
TypeScript
Stars
30
Forks
7
PR merge metrics
No merged PRs in 30d

Description

```astro
---
import 'astro-dev-only';
---

This page won't show up in prod

```

It might make sense to make it a virtual module, so maybe something more like this?

```astro
---
import 'dev:only';
---
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the repository's Astro plugin entry points and how imports are handled. Determine whether the requested resource should be the shown `astro-dev-only` import or a `dev:only` virtual module, and consider the work complete when importing it excludes the page from production output while preserving development behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.