UNPKG

commonjs-everywhere

Version:

CommonJS browser bundler with aliasing, extensibility, and source maps from the minified JS bundle

9 lines (8 loc) 246 B
// Generated by CoffeeScript 2.0.0-beta7 void function () { var path; path = require('path'); module.exports = function (root, file) { return ('/' + path.relative(root, path.resolve(root, file))).replace(/\\/g, '/'); }; }.call(this);