Skip to content
Snippets Groups Projects
Commit c9e33f66 authored by Aya Morisawa's avatar Aya Morisawa Committed by syuilo
Browse files

Check if there is a built code (#5415)

parent b719d430
No related branches found
No related tags found
No related merge requests found
require('./built').default();
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.');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment