UNPKG

github-release-info-downloader

Version:

Gets latest release download URL using the GitHub Releases API. It also shows when it was released and the download count.

28 lines (27 loc) 529 B
var DIST = __dirname + '/dist'; var FILE = 'ghReleaseInfo'; module.exports = { // entry: { // index: ['babel-polyfill', './src/index.js'] // // ghReleaseInfo: ['babel-polyfill', './src/'+FILE] // }, output: { library: FILE, libraryTarget: 'umd', path: DIST, filename: FILE+'.js' }, devtool: 'source-map', module: { rules: [ { test: /\.js$/, exclude: /node_modules/, use: { loader: "babel-loader" } } ] }, cache: true };