mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 21:23:08 +02:00
7 lines
214 B
JavaScript
7 lines
214 B
JavaScript
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.');
|
|
}
|