Skip to content

Commit

Permalink
Update build.js use $:/core/save/all
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacharia2 committed Jul 6, 2023
1 parent cee35e3 commit 5ebdfd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ function buildOfflineHTML(distDir, htmlName, minify, excludeFilter) {
if (typeof excludeFilter !== 'string') excludeFilter = '-[is[draft]]';

// 构建HTML
shell(`npx tiddlywiki +plugins/tiddlywiki/tiddlyweb . --output ${distDir}` +
shell(`npx tiddlywiki . --output ${distDir}` +
' --deletetiddlers \'[[$:/UpgradeLibrary]] [[$:/UpgradeLibrary/List]]\'' +
` --rendertiddler $:/plugins/tiddlywiki/tiddlyweb/save/offline index-raw.html text/plain "" publishFilter "${excludeFilter}"`
` --rendertiddler $:/core/save/all index-raw.html text/plain "" publishFilter "${excludeFilter}"`
);

// 最小化:HTML
Expand Down

0 comments on commit 5ebdfd3

Please sign in to comment.