const preview = require('./dist/preview'); exports.setOptions = preview.setOptions; exports.withOptions = preview.withOptions; preview.init();