Files
impress.js/build.js
and3rson b10f710499 Add swipe support for navigation between steps
Also:
 - Removes the code that allowed navigation by tapping left/right edge of screen.
   - Actually, this was already removed in this branch...
 - Removes the code that disabled impress.js on mobile devices
 - Adds new API call impress().swipe()

Refactored for the plugin api from this pull request by @and3rson:
https://github.com/impress/impress.js/pull/496

Manually "cherry picked" from
c44fd0f4c1
2017-10-23 22:29:59 +03:00

20 lines
602 B
JavaScript

var buildify = require('buildify');
buildify()
.load('src/impress.js')
// Libraries from src/lib
.concat(['src/lib/gc.js'])
.concat(['src/lib/util.js'])
// Plugins from src/plugins
.concat(['src/plugins/goto/goto.js',
'src/plugins/navigation/navigation.js',
'src/plugins/rel/rel.js',
'src/plugins/resize/resize.js',
'src/plugins/stop/stop.js',
'src/plugins/touch/touch.js'])
.save('js/impress.js');
/*
* Disabled until uglify supports ES6: https://github.com/mishoo/UglifyJS2/issues/448
.uglify()
.save('js/impress.min.js');
*/