Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: package theme templates and static assets #17

Closed
clarete opened this issue Dec 29, 2020 · 0 comments
Closed

build: package theme templates and static assets #17

clarete opened this issue Dec 29, 2020 · 0 comments

Comments

@clarete
Copy link
Collaborator

clarete commented Dec 29, 2020

There's currently no way to separate a list of files to be exported from "source" files. That affects mostly HTML templates and built CSS files.

The files we'd want to to package as final theme "artifacts" need to be built from the source files and made them available for users to:

  1. be able to import templates that are located within the weblorg package;
  2. be able to copy static assets from themes within the package to the user's static site instance directory

I'd suggest creating something like a subdirectory src within each theme so we can easily exclude it with globs and such. Or we can just identify which files are to be exported and put them within a sort of an allow-list? That's probably relevant to the melpa package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant