The language components take up a fair bit of filesize, I think. Would be nice to have a TW5 without them. But that is probably wishful thinking as I think they are pretty much inextricably engraved into TW5.
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/xzkwFMCpfCc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8f82c6b3-9437-4c0d-a6c1-1ae3392d9e0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CANE%3DBFJcggozZNXtsBkN65o37QOz6-o8WhT4oQ6ZkXgoCPUSGg%40mail.gmail.com.
Anyhow, the current process used under Node.js to build the `$:/core` plugin includes all the tiddlers found by recursively loading the `core` folder in the repo. It's not currently possible to omit individual tiddlers except by deleting them.
Wouldn't it be possible to use the tiddlywiki.files configuration to specify the files which should be included?
-m
Hi MarioWouldn't it be possible to use the tiddlywiki.files configuration to specify the files which should be included?Yes, one could add a tiddlywiki.files in the `core` folder. One would have to explicitly list each of the tiddlers which were to be included.Best wishesJeremy.
Hello Jeremy, if you include the tiddlywiki.files will it take precedence over the normal flow? So the files not listed will not be included?
Is it possible to may changes that would only take effect in the browser - ie make an alternative core plugin that only would only be unpacked in the browser?
cheer
BJ
On Tuesday, May 19, 2015 at 10:13:44 AM UTC+1, Jeremy Ruston wrote:Hi DanieloHello Jeremy, if you include the tiddlywiki.files will it take precedence over the normal flow? So the files not listed will not be included?That's correct, yes. See the docs here:Best wishesJeremy.--
Hello BJ,
What is the purpose of such feature?
seems to work
exports.name = "changecore";
exports.params = [
];
/*
Run the macro
*/
exports.run = function() {
var tiddler = $tw.wiki.getTiddler("$:/plugins/bj/corenew"),
updateFields = {
title: "$:/plugins/bj/corenew"
};
updateFields["plugin-type"] = "plugin";
$tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getCreationFields(),tiddler,updateFields,$tw.wiki.getModificationFields()))
}
})();
\define saveTiddlerFilter()
[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] -[[$:/core]]
\end
<<changecore>>
{{$:/core/templates/tiddlywiki5.html}}
build using this new macro from nodejs