Skip to content

TECH-1087: Allow building to same directory - #678

Open
RobLoach wants to merge 1 commit into
masterfrom
same-dir-dest
Open

RobLoach wants to merge 1 commit into
masterfrom
same-dir-dest

Conversation

@RobLoach

@RobLoach RobLoach commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

This allows you to build to the same directory, so that built assets appear beside their source counterparts.

Fixes #676

@RobLoach

RobLoach commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

To use it in prelude, you'd update package.json...

  "dependencies": {
    "kalastatic": "github:kalamuna/kalastatic#same-dir-dest",
    "sass": "1.89.2"
  },
  "kalastatic": {
    "source": "styleguide",
    "destination": "styleguide",
    "debug": "true",

@mikemccaffrey

Copy link
Copy Markdown
Contributor

This works for my particular case, but to make it more general purpose we might want to consider something like an actual cleanup setting with values for "all", "html", and "none".

Let me think about it a bit more.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow building to the same directory as the source

2 participants