UNPKG

scroll-swipe

Version:

a lightweight Events API for detecting scroll and touch events based on custom sensitivity

26 lines (24 loc) 406 B
const path = require('path'); module.exports = { entry: { index: path.join(__dirname, 'examples', 'index.js') }, output: { path: './js', publicPath: '/js', filename: 'bundle.js' }, devServer: { inline: true, port: 3333 }, module: { loaders: [ { test: /\.js$/, exclude: /node_modules/, loader: 'babel' } ] } };