Skip to content

Commit

Permalink
fix #24 与 更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacharia2 committed Jul 5, 2023
1 parent 8ff7deb commit cee35e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"cross-env": "7.0.3",
"html-minifier-terser": "7.2.0",
"shx": "0.3.4",
"tiddlywiki": "^5.2.7",
"tiddlywiki": "^5.3.0",
"uglify-js": "3.17.4",
"workbox-cli": "7.0.0",
"zx": "^7.0.0",
"zx": "^7.2.2",
"rimraf": "^5.0.1"
}
}
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function buildOfflineHTML(distDir, htmlName, minify, excludeFilter) {
if (typeof excludeFilter !== 'string') excludeFilter = '-[is[draft]]';

// 构建HTML
shell(`npx tiddlywiki +plugins/tiddlywiki/filesystem +plugins/tiddlywiki/tiddlyweb . --output ${distDir}` +
shell(`npx tiddlywiki +plugins/tiddlywiki/tiddlyweb . --output ${distDir}` +
' --deletetiddlers \'[[$:/UpgradeLibrary]] [[$:/UpgradeLibrary/List]]\'' +
` --rendertiddler $:/plugins/tiddlywiki/tiddlyweb/save/offline index-raw.html text/plain "" publishFilter "${excludeFilter}"`
);
Expand Down
2 changes: 0 additions & 2 deletions tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"description": "TW5-T-ONLINE",
"plugins": [
"tiddlywiki/filesystem",
"tiddlywiki/tiddlyweb",
"tiddlywiki/browser-sniff"
],
"themes": [
Expand Down

0 comments on commit cee35e3

Please sign in to comment.