@egjs/view360
Version:
360 integrated viewing solution from inside-out view to outside-in view. It provides user-friendly service by rotating 360 degrees through various user interaction such as motion sensor and touch.
18 lines (15 loc) • 334 B
JavaScript
const uglify = require("rollup-plugin-uglify").uglify;
module.exports = uglify({
sourcemap: true,
output: {
comments: (node, comment) => {
const text = comment.value;
const type = comment.type;
if (type === "comment2") {
// multiline comment
return /@egjs\/view360/.test(text);
}
return false;
}
}
});