mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
feat(electron): use affine native (#2329)
This commit is contained in:
6
packages/native/fs-watcher.js
Normal file
6
packages/native/fs-watcher.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports.createFSWatcher = function createFSWatcher() {
|
||||
// require it in the function level so that it won't break the `generate-main-exposed-meta.mjs`
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const { FsWatcher } = require('./index');
|
||||
return FsWatcher;
|
||||
};
|
||||
Reference in New Issue
Block a user