On Tuesday, May 19, 2015 at 9:51:28 PM UTC+1, Danielo Rodríguez wrote:
>
> Hello BJ, 
>
> What is the purpose of such feature?


Hi Danielo,
like you I want to produce variations of the core plugin. At the moment 
when building the tiddlywiki the boot.js unpacks all plugins into the 
node.js tiddlywiki - there is no way to specify that a plugin is for the 
browser only. So if I have a plugin called core-min which contains modified 
javascript of the core  - it will be unpacked by the bootloader into the 
node.js version of tiddlywiki and break it.

Maybe a way to separate out the core-min is to set its plugin-type" to 
"plugin-browser" in its plugin.info file. - this will stop the boot.js from 
unpacking it. Then have a template $:/core/save/all-coremin that will act 
like the template $:/core/save/all but will exclude the core and change the 
plugin-type of core-min to "plugin".
Thre may also need to be a modified version of  
"$:/core/templates/tiddlywiki5.html" - I don't know yet

Note that I have not tried this yet.

cheers

BJ

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/39d4a42a-487f-42f0-a94b-e09074ef379e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to