mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-19 19:19:03 +00:00
load notion-enhancer from node_modules
This commit is contained in:
parent
6670bf5550
commit
07b1726ac1
@ -148,9 +148,7 @@ module.exports = async function ({ overwrite_version, friendly_errors } = {}) {
|
|||||||
} else {
|
} else {
|
||||||
fs.appendFile(
|
fs.appendFile(
|
||||||
insertion_file,
|
insertion_file,
|
||||||
`\n\n//notion-enhancer\nrequire('${realpath(
|
`\n\n//notion-enhancer\nrequire('notion-enhancer/pkg/loader.js')(__filename, exports);`
|
||||||
__dirname
|
|
||||||
)}/loader.js')(__filename, exports);`
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user