mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 03:27:18 +00:00
Add offline-external-js to empty edition (#7737)
Currently I'm building these files myself for use on tiddlyhost.com. I'm thinking it would be nicer if they were built and distributed by TiddlyWiki's own build automation, so this is a step towards that. The two new files that are created, "empty-external-core.js" and "tiddlywikicore-<version>.js" will appear alongside the existing "empty.html" and "empty.hta" when the TiddlyWiki site is deployed.
This commit is contained in:
parent
6f307ae01e
commit
6255856205
@ -104,13 +104,15 @@ node $TW5_BUILD_TIDDLYWIKI \
|
|||||||
--build favicon static index \
|
--build favicon static index \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
# /empty.html Empty
|
# /empty.html Empty
|
||||||
# /empty.hta For Internet Explorer
|
# /empty.hta For Internet Explorer
|
||||||
|
# /empty-external-core.html External core empty
|
||||||
|
# /tiddlywikicore-<version>.js Core plugin javascript
|
||||||
node $TW5_BUILD_TIDDLYWIKI \
|
node $TW5_BUILD_TIDDLYWIKI \
|
||||||
./editions/empty \
|
./editions/empty \
|
||||||
--verbose \
|
--verbose \
|
||||||
--output $TW5_BUILD_OUTPUT \
|
--output $TW5_BUILD_OUTPUT \
|
||||||
--build empty \
|
--build empty emptyexternalcore \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
"empty": [
|
"empty": [
|
||||||
"--render","$:/core/save/all","empty.html","text/plain",
|
"--render","$:/core/save/all","empty.html","text/plain",
|
||||||
"--render","$:/core/save/all","empty.hta","text/plain"],
|
"--render","$:/core/save/all","empty.hta","text/plain"],
|
||||||
|
"emptyexternalcore": [
|
||||||
|
"--render","$:/core/save/offline-external-js","empty-external-core.html","text/plain",
|
||||||
|
"--render","$:/core/templates/tiddlywiki5.js","[[tiddlywikicore-]addsuffix<version>addsuffix[.js]]","text/plain"],
|
||||||
"externalimages": [
|
"externalimages": [
|
||||||
"--savetiddlers","[is[image]]","images",
|
"--savetiddlers","[is[image]]","images",
|
||||||
"--setfield","[is[image]]","_canonical_uri","$:/core/templates/canonical-uri-external-image","text/plain",
|
"--setfield","[is[image]]","_canonical_uri","$:/core/templates/canonical-uri-external-image","text/plain",
|
||||||
|
Loading…
Reference in New Issue
Block a user