UNPKG

@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.

25 lines (19 loc) 564 B
const merge = require("./merge").merge; const banner = require("./banner").common; const pkgConfigList = require("./rollup.config.pkgd"); const defaultConfig = { external: ["@egjs/axes", "@egjs/component"], output: { globals: { "@egjs/axes": "eg.Axes", "@egjs/component": "eg.Component" }, banner }, }; const devConfigList = pkgConfigList.map(config => { const newConfig = Object.assign({}, defaultConfig); newConfig.output.file = config.output.file.replace(".pkgd", ""); return merge(config, newConfig); }); module.exports = devConfigList;