mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
16 lines
483 B
JavaScript
16 lines
483 B
JavaScript
const fs = require('fs-extra');
|
|
|
|
const basePath = `${__dirname}/../../..`;
|
|
|
|
module.exports = function() {
|
|
const libContent = [
|
|
fs.readFileSync(`${basePath}/packages/lib/string-utils-common.js`, 'utf8'),
|
|
fs.readFileSync(`${basePath}/packages/lib/markJsUtils.js`, 'utf8'),
|
|
fs.readFileSync(`${basePath}/packages/lib/renderers/webviewLib.js`, 'utf8'),
|
|
];
|
|
|
|
fs.writeFileSync(`${__dirname}/../gui/note-viewer/lib.js`, libContent.join('\n'), 'utf8');
|
|
|
|
return Promise.resolve();
|
|
};
|