UNPKG

gerald-react-scripts-fork

Version:

Gerald's fork of the configuration and scripts for Create React App.

16 lines (13 loc) 269 B
var utils = require('../utils') , path = require('path'); /** * Return the extname of `path`. * * @param {String} path * @return {String} * @api public */ module.exports = function extname(p){ utils.assertString(p, 'path'); return path.extname(p.val); };