mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-05-01 01:31:39 -07:00
Now we use arg from $tw.boot.wikiTiddlersPath to solve this, which is get from workspace. And fixes the `Cannot find module named 'fs' required by module , resolved to fs` error which is caused by not setting ```js if (typeof $tw === 'undefined' || !$tw?.node) return; ``` And add this, maybe is useful ```js exports.name = 'watch-fs_FileSystemMonitor'; exports.after = ['load-modules', 'watch-fs_watch']; exports.platforms = ['node']; exports.synchronous = true; ``` |
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| plugins | ||
| public | ||
| scripts | ||
| themes/linonetwo/itonnote | ||
| tiddlers | ||
| .gitignore | ||
| html-minifier-terser.config.json | ||
| package-lock.json | ||
| package.json | ||
| tiddlywiki.info | ||
| workbox-config.js | ||