Replies: 3 comments
-
Hey @kazzkiq, thanks for bringing this up. Currently, there is no way to achieve this except for doing it manually in
However, no |
Beta Was this translation helpful? Give feedback.
-
I think one example is the very reason I opened this issue: modularization when writing markdown files. Instead of writing a big piece of documentation, users could split the assets into multiple files for better organization and ease of maintenance. The final single-file being generated only for production:
would be "compiled" to:
The same could apply to simple static websites/SPAs where for some reason there isn't any modular framework and/or template being used. Lets say I want to make a static webpage with lots of content in it. Perhaps it would be useful if I could split the pieces of my HTML into single files, and then using Brunch to generate the final
would be "compiled" to:
|
Beta Was this translation helpful? Give feedback.
-
Another reason to have this is SVG sprites. But for SVG, we can't just join files, we should wrap them. So this should happen in plugin, not in config (for users not to copy/paste ugly xml). |
Beta Was this translation helpful? Give feedback.
-
Description
I'm building a plugin for concatenation of markdown files (without parsing them into HTML), but when I try to compile them, they're generated individually in
/public
folder.This is the plugin code I'm trying:
I'm trying to use
'template'
as the plugin "type" because I believe this would fit better, but it generates HTML files instead of a single.md
concatenated one.Anyone have any idea of how can I concat multiple files into one?
Beta Was this translation helpful? Give feedback.
All reactions