-
Notifications
You must be signed in to change notification settings - Fork 979
Closed
Description
Ideal behavior
File: archive/index.mjml
<mj-include root="true" path="/partials/footer.mjml" />
Command: npx mjml ./archive/**/*.mjml -o ./dist
- β All files in located in a the archive will compile into the /dist folder
- π« mj-include partials are referenced from project root directory, instead of file directory.
Why?: This would allow larger teams to provide a consistent workspace + archive
βββ index.mjml // working file (untracked)
βββ partials // template partials
| βββ header.mjml
| βββ footer.mjml
βββ archive // repo of old work
βββ events
| βββ event-email-96.mjml
βββ newletters
βββ newsletter-55.mjml
βββ random-campaign
βββ campaign-newsletter.mjml
Metadata
Metadata
Assignees
Labels
No labels