Kudos to @DDKnoll for the great work. For the details of how to make Cettia work with bundlers, see this pull request.
import cettia from "cettia-client/cettia-bundler"; // ES6 way
var cettia = require('cettia-client/cettia-bundler'); // CommonJS way