chore(core): prevent unexepected token on build