misskey/index.js

8 lines
214 B
JavaScript
Raw Normal View History

2019-09-10 10:15:38 +02:00
const fs = require('fs');
if (fs.existsSync('./built')) {
require('./built').default();
} else {
console.log('Built code is not found. Probably an error occurred during a build or you just forgot to build.');
}