const fontPath = path.join(__dirname, '../fonts/Comismsh.ttf'); this is not good,we could not pack all.js to one js 
const fontPath = path.join(__dirname, '../fonts/Comismsh.ttf');
this is not good,we could not pack all.js to one js