mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-19 11:09: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 {
|
||||
fs.appendFile(
|
||||
insertion_file,
|
||||
`\n\n//notion-enhancer\nrequire('${realpath(
|
||||
__dirname
|
||||
)}/loader.js')(__filename, exports);`
|
||||
`\n\n//notion-enhancer\nrequire('notion-enhancer/pkg/loader.js')(__filename, exports);`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user