UNPKG

handsfree

Version:

A Face Pointer and Pose Estimator for interacting with pages, desktops, robots, and more via gestures

33 lines (30 loc) 674 B
import {nodeResolve} from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' import copy from 'rollup-plugin-copy' export default [ /** * Handsfree.js UMD library */ { input: 'src/handsfree.js', moduleContext: { 'node_modules/gsap/TweenLite.js': 'window' }, output: { name: 'Handsfree', format: 'umd', dir: 'build/lib' }, plugins: [ copy({ targets: [ {src: 'docs/.vuepress/public/handsfree/*', dest: 'build/lib/assets/'} ] }), commonjs({ include: /node_modules/ }), nodeResolve() ] } ]